Changeset 54226 for trunk/tests/phpunit/tests/post/attachments.php
- Timestamp:
- 09/19/2022 10:51:53 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/post/attachments.php
r54086 r54226 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 }17 9 18 10 public function tear_down() { 19 11 // Remove all uploads. 20 12 $this->remove_added_uploads(); 21 remove_filter( 'image_editor_output_format', '__return_empty_array' );22 13 parent::tear_down(); 23 14 }
Note: See TracChangeset
for help on using the changeset viewer.