Changeset 57940 for branches/6.2/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/07/2024 09:45:23 PM (8 months ago)
- Location:
- branches/6.2
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.2
-
branches/6.2/tests/phpunit/tests/image/functions.php
r55070 r57940 539 539 public function test_wp_crop_image_with_url() { 540 540 $file = wp_crop_image( 541 'https:// asdftestblog1.files.wordpress.com/2008/04/canola.jpg',541 'https://s.w.org/screenshots/3.9/dashboard.png', 542 542 0, 543 543 0, … … 547 547 100, 548 548 false, 549 DIR_TESTDATA . '/images/' . __FUNCTION__ . '. jpg'549 DIR_TESTDATA . '/images/' . __FUNCTION__ . '.png' 550 550 ); 551 551 … … 588 588 public function test_wp_crop_image_should_fail_with_wp_error_object_if_url_does_not_exist() { 589 589 $file = wp_crop_image( 590 'https:// asdftestblog1.files.wordpress.com/2008/04/canoladoesnotexist.jpg',590 'https://wordpress.org/screenshots/3.9/canoladoesnotexist.jpg', 591 591 0, 592 592 0,
Note: See TracChangeset
for help on using the changeset viewer.