Changeset 54086 for trunk/tests/phpunit/tests/image/editorGd.php
- Timestamp:
- 09/06/2022 09:13:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/editorGd.php
r52837 r54086 18 18 require_once ABSPATH . WPINC . '/class-wp-image-editor-gd.php'; 19 19 20 add_filter( 'image_editor_output_format', '__return_empty_array' ); 21 20 22 // This needs to come after the mock image editor class is loaded. 21 23 parent::set_up(); … … 30 32 31 33 $this->remove_added_uploads(); 34 35 remove_filter( 'image_editor_output_format', '__return_empty_array' ); 32 36 33 37 parent::tear_down();
Note: See TracChangeset
for help on using the changeset viewer.