Changeset 57939 for branches/6.3/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/07/2024 09:39:14 PM (2 years ago)
- Location:
- branches/6.3
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/phpunit/tests/image/functions.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/6.3
-
branches/6.3/tests/phpunit/tests/image/functions.php
r55935 r57939 624 624 public function test_wp_crop_image_with_url() { 625 625 $file = wp_crop_image( 626 'https:// asdftestblog1.files.wordpress.com/2008/04/canola.jpg',626 'https://s.w.org/screenshots/3.9/dashboard.png', 627 627 0, 628 628 0, … … 632 632 100, 633 633 false, 634 DIR_TESTDATA . '/images/' . __FUNCTION__ . '. jpg'634 DIR_TESTDATA . '/images/' . __FUNCTION__ . '.png' 635 635 ); 636 636 … … 673 673 public function test_wp_crop_image_should_fail_with_wp_error_object_if_url_does_not_exist() { 674 674 $file = wp_crop_image( 675 'https:// asdftestblog1.files.wordpress.com/2008/04/canoladoesnotexist.jpg',675 'https://wordpress.org/screenshots/3.9/canoladoesnotexist.jpg', 676 676 0, 677 677 0,
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)