Skip to content

Commit b53ec59

Browse files
Update tests/phpunit/tests/rest-api/rest-attachments-controller.php
Co-authored-by: Weston Ruter <[email protected]>
1 parent 588de63 commit b53ec59

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

tests/phpunit/tests/rest-api/rest-attachments-controller.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2962,8 +2962,6 @@ public function test_upload_unsupported_image_type_skipped_when_not_generating_s
29622962
$controller = new WP_REST_Attachments_Controller( 'attachment' );
29632963
$result = $controller->create_item_permissions_check( $request );
29642964

2965-
remove_filter( 'wp_image_editors', '__return_empty_array' );
2966-
29672965
// Should pass because generate_sub_sizes is false (client handles processing).
29682966
$this->assertTrue( $result );
29692967
}

0 commit comments

Comments
 (0)