From 8eda7a05103ab5146a1b245db8b51c1719c3316a Mon Sep 17 00:00:00 2001 From: Rachel Baker Date: Tue, 27 Dec 2016 18:03:52 +0000 Subject: [PATCH] REST API: Remove errant annotation from `test_get_items_pagination_headers()` method. Removes the debugging group notation left in the `WP_Test_REST_Users_Controller` and `WP_Test_REST_Posts_Controller` classes pagination headers method. Introduced in [38832]. Props sanket.parmar. Fixes #39398. git-svn-id: https://develop.svn.wordpress.org/trunk@39643 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/rest-api/rest-posts-controller.php | 3 --- tests/phpunit/tests/rest-api/rest-users-controller.php | 3 --- 2 files changed, 6 deletions(-) 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