Skip to content

Commit dabce6b

Browse files
committed
Remove unnecessary filter
The `WP_Image_UnitTestCase` base class already has a filter for `wp_image_editors` that returns the value of `$this->editor_engine`, so this is unnecessary here.
1 parent c683208 commit dabce6b

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

tests/phpunit/tests/image/resize.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,6 @@ abstract class WP_Tests_Image_Resize_UnitTestCase extends WP_Image_UnitTestCase
1212

1313
public function set_up() {
1414
parent::set_up();
15-
16-
add_filter( 'wp_image_editors', array( $this, 'wp_image_editors' ) );
17-
}
18-
19-
public function wp_image_editors() {
20-
return array( $this->editor_engine );
2115
}
2216

2317
public function test_resize_jpg() {

0 commit comments

Comments
 (0)