Skip to content

Commit f119b28

Browse files
anton-vlasenkoAnton Vlasenko
authored andcommitted
Fix code style.
1 parent 4c12f48 commit f119b28

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,7 @@ public function test_get_items_with_head_request_should_not_prepare_taxonomy_dat
7171
add_filter( $hook_name, $callback );
7272
$response = rest_get_server()->dispatch( $request );
7373
remove_filter( $hook_name, $callback );
74-
7574
$this->assertSame( 200, $response->get_status(), 'The response status should be 200.' );
76-
7775
$this->assertSame( 0, $filter->get_call_count(), 'The "' . $hook_name . '" filter was called when it should not be for HEAD requests.' );
7876
$this->assertNull( $response->get_data(), 'The server should not generate a body in response to a HEAD request.' );
7977
}

0 commit comments

Comments
 (0)