Changeset 47198 for trunk/tests/phpunit/tests/ajax/MediaEdit.php
- Timestamp:
- 02/06/2020 06:31:22 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/ajax/MediaEdit.php
r47122 r47198 3 3 * Admin Ajax functions to be tested. 4 4 */ 5 require_once ( ABSPATH . 'wp-admin/includes/ajax-actions.php' );5 require_once ABSPATH . 'wp-admin/includes/ajax-actions.php'; 6 6 7 7 /** … … 28 28 */ 29 29 public function testCropImageThumbnail() { 30 include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );30 require_once ABSPATH . 'wp-admin/includes/image-edit.php'; 31 31 32 32 $filename = DIR_TESTDATA . '/images/canola.jpg'; … … 59 59 define( 'IMAGE_EDIT_OVERWRITE', true ); 60 60 61 include_once( ABSPATH . 'wp-admin/includes/image-edit.php' );61 require_once ABSPATH . 'wp-admin/includes/image-edit.php'; 62 62 63 63 $filename = DIR_TESTDATA . '/images/canola.jpg';
Note: See TracChangeset
for help on using the changeset viewer.