- Timestamp:
- 09/06/2022 09:13:17 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r54085 r54086 94 94 add_filter( 'rest_pre_dispatch', array( $this, 'wpSetUpBeforeRequest' ), 10, 3 ); 95 95 add_filter( 'posts_clauses', array( $this, 'save_posts_clauses' ), 10, 2 ); 96 add_filter( 'image_editor_output_format', '__return_empty_array' ); 96 97 } 97 98 … … 121 122 WP_Image_Editor_Mock::$size_return = null; 122 123 } 124 125 remove_filter( 'image_editor_output_format', '__return_empty_array' ); 123 126 124 127 parent::tear_down();
Note: See TracChangeset
for help on using the changeset viewer.