diff --git a/tests/phpunit/tests/rest-api/rest-posts-controller.php b/tests/phpunit/tests/rest-api/rest-posts-controller.php index 04b255d0f7..67d4b0eea5 100644 --- a/tests/phpunit/tests/rest-api/rest-posts-controller.php +++ b/tests/phpunit/tests/rest-api/rest-posts-controller.php @@ -723,9 +723,6 @@ class WP_Test_REST_Posts_Controller extends WP_Test_REST_Post_Type_Controller_Te $this->assertEquals( $id1, $post['id'] ); } - /** - * @group test - */ public function test_get_items_pagination_headers() { // Start of the index for ( $i = 0; $i < 49; $i++ ) { diff --git a/tests/phpunit/tests/rest-api/rest-users-controller.php b/tests/phpunit/tests/rest-api/rest-users-controller.php index 55988a768f..4f5edcf35a 100644 --- a/tests/phpunit/tests/rest-api/rest-users-controller.php +++ b/tests/phpunit/tests/rest-api/rest-users-controller.php @@ -167,9 +167,6 @@ class WP_Test_REST_Users_Controller extends WP_Test_REST_Controller_Testcase { } } - /** - * @group test - */ public function test_get_items_pagination_headers() { wp_set_current_user( self::$user ); // Start of the index, including the three existing users