Changeset 57935 for branches/6.5/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/06/2024 02:19:35 PM (2 years ago)
- Location:
- branches/6.5
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/image/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.5
-
branches/6.5/tests/phpunit/tests/image/functions.php
r57524 r57935 639 639 public function test_wp_crop_image_with_url() { 640 640 $file = wp_crop_image( 641 'https:// asdftestblog1.files.wordpress.com/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.files.wordpress.com/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.