Changeset 57941 for branches/6.1/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/07/2024 09:47:49 PM (10 months ago)
- Location:
- branches/6.1
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/6.1
-
branches/6.1/tests/phpunit/tests/image/functions.php
r54226 r57941 516 516 public function test_wp_crop_image_with_url() { 517 517 $file = wp_crop_image( 518 'https:// asdftestblog1.files.wordpress.com/2008/04/canola.jpg',518 'https://s.w.org/screenshots/3.9/dashboard.png', 519 519 0, 520 520 0, … … 524 524 100, 525 525 false, 526 DIR_TESTDATA . '/images/' . __FUNCTION__ . '. jpg'526 DIR_TESTDATA . '/images/' . __FUNCTION__ . '.png' 527 527 ); 528 528 … … 565 565 public function test_wp_crop_image_should_fail_with_wp_error_object_if_url_does_not_exist() { 566 566 $file = wp_crop_image( 567 'https:// asdftestblog1.files.wordpress.com/2008/04/canoladoesnotexist.jpg',567 'https://wordpress.org/screenshots/3.9/canoladoesnotexist.jpg', 568 568 0, 569 569 0,
Note: See TracChangeset
for help on using the changeset viewer.