- Timestamp:
- 09/19/2022 10:51:53 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tests/phpunit/tests/rest-api/rest-attachments-controller.php
r54090 r54226 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' );97 96 } 98 97 … … 122 121 WP_Image_Editor_Mock::$size_return = null; 123 122 } 124 125 remove_filter( 'image_editor_output_format', '__return_empty_array' );126 123 127 124 parent::tear_down();
Note: See TracChangeset
for help on using the changeset viewer.