Changeset 54086 for trunk/tests/phpunit/tests/image/intermediateSize.php
- Timestamp:
- 09/06/2022 09:13:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/image/intermediateSize.php
r52389 r54086 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 8 17 public function tear_down() { 9 18 $this->remove_added_uploads(); … … 13 22 remove_image_size( 'false-width' ); 14 23 remove_image_size( 'off-by-one' ); 24 25 remove_filter( 'image_editor_output_format', '__return_empty_array' ); 26 15 27 parent::tear_down(); 16 28 }
Note: See TracChangeset
for help on using the changeset viewer.