Make WordPress Core

Ticket #38279: 38279.2.diff

File 38279.2.diff, 613 bytes (added by rachelbaker, 8 years ago)
  • tests/phpunit/tests/rest-api.php

     
    2020        }
    2121
    2222        /**
    23          * The plugin should be installed and activated.
     23         * Checks that the main classes are loaded.
    2424         */
    25         function test_rest_api_activated() {
     25        function test_rest_api_active() {
    2626                $this->assertTrue( class_exists( 'WP_REST_Server' ) );
     27                $this->assertTrue( class_exists( 'WP_REST_Request' ) );
     28                $this->assertTrue( class_exists( 'WP_REST_Response' ) );
    2729        }
    2830
    2931        /**