Changeset 57993 for branches/5.8/tests/phpunit/tests/image/functions.php
- Timestamp:
- 04/15/2024 12:22:26 PM (10 months ago)
- Location:
- branches/5.8
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/5.8
-
branches/5.8/tests/phpunit/tests/image/functions.php
r50814 r57993 395 395 public function test_wp_crop_image_url() { 396 396 $file = wp_crop_image( 397 'https:// asdftestblog1.files.wordpress.com/2008/04/canola.jpg',397 'https://s.w.org/screenshots/3.9/dashboard.png', 398 398 0, 399 399 0, … … 403 403 100, 404 404 false, 405 DIR_TESTDATA . '/images/' . __FUNCTION__ . '. jpg'405 DIR_TESTDATA . '/images/' . __FUNCTION__ . '.png' 406 406 ); 407 407 … … 438 438 public function test_wp_crop_image_url_not_exist() { 439 439 $file = wp_crop_image( 440 'https:// asdftestblog1.files.wordpress.com/2008/04/canoladoesnotexist.jpg',440 'https://wordpress.org/screenshots/3.9/canoladoesnotexist.jpg', 441 441 0, 442 442 0,
Note: See TracChangeset
for help on using the changeset viewer.