Changeset 54086 for trunk/tests/phpunit/tests/post/attachments.php
- Timestamp:
- 09/06/2022 09:13:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/attachments.php
r52389 r54086 7 7 */ 8 8 class Tests_Post_Attachments extends WP_UnitTestCase { 9 /** 10 * Set up the test fixture. 11 */ 12 public function set_up() { 13 add_filter( 'image_editor_output_format', '__return_empty_array' ); 14 15 parent::set_up(); 16 } 9 17 10 18 public function tear_down() { 11 19 // Remove all uploads. 12 20 $this->remove_added_uploads(); 21 remove_filter( 'image_editor_output_format', '__return_empty_array' ); 13 22 parent::tear_down(); 14 23 }
Note: See TracChangeset
for help on using the changeset viewer.