Changeset 54226 for trunk/tests/phpunit/tests/image/intermediateSize.php
- Timestamp:
- 09/19/2022 10:51:53 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/intermediateSize.php
r54086 r54226 6 6 */ 7 7 class Tests_Image_Intermediate_Size extends WP_UnitTestCase { 8 /**9 * Set up the test fixture.10 */11 public function set_up() {12 add_filter( 'image_editor_output_format', '__return_empty_array' );13 14 parent::set_up();15 }16 17 8 public function tear_down() { 18 9 $this->remove_added_uploads(); … … 22 13 remove_image_size( 'false-width' ); 23 14 remove_image_size( 'off-by-one' ); 24 25 remove_filter( 'image_editor_output_format', '__return_empty_array' );26 27 15 parent::tear_down(); 28 16 }
Note: See TracChangeset
for help on using the changeset viewer.