Changeset 57931 for trunk/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/05/2024 12:10:13 PM (10 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/functions.php
r57924 r57931 639 639 public function test_wp_crop_image_with_url() { 640 640 $file = wp_crop_image( 641 'https:// asdftestblog1.wordpress.com/wp-content/uploads/2008/04/canola.jpg',641 'https://s.w.org/screenshots/3.9/dashboard.png', 642 642 0, 643 643 0, … … 647 647 100, 648 648 false, 649 DIR_TESTDATA . '/images/' . __FUNCTION__ . '. jpg'649 DIR_TESTDATA . '/images/' . __FUNCTION__ . '.png' 650 650 ); 651 651 … … 688 688 public function test_wp_crop_image_should_fail_with_wp_error_object_if_url_does_not_exist() { 689 689 $file = wp_crop_image( 690 'https:// asdftestblog1.wordpress.com/wp-content/uploads/2008/04/canoladoesnotexist.jpg',690 'https://wordpress.org/screenshots/3.9/canoladoesnotexist.jpg', 691 691 0, 692 692 0,
Note: See TracChangeset
for help on using the changeset viewer.