Make WordPress Core

Ticket #39398: 39398-rest-posts-controller.patch

File 39398-rest-posts-controller.patch, 496 bytes (added by sanket.parmar, 8 years ago)

Introduced in [38832] the WP_Test_REST_Posts_Controller->test_get_items_pagination_headers has an extraneous @group test notation that should be removed. See https://core.trac.wordpress.org/browser/trunk/tests/phpunit/tests/rest-api/rest-posts-controller.php#L727

  • tests/phpunit/tests/rest-api/rest-posts-controller.php

     
    723723                $this->assertEquals( $id1, $post['id'] );
    724724        }
    725725
    726         /**
    727          * @group test
    728          */
    729726        public function test_get_items_pagination_headers() {
    730727                // Start of the index
    731728                for ( $i = 0; $i < 49; $i++ ) {