diff --git a/tests/phpunit/tests/rest-api.php b/tests/phpunit/tests/rest-api.php index 6710a830ae..1fe1b49540 100644 --- a/tests/phpunit/tests/rest-api.php +++ b/tests/phpunit/tests/rest-api.php @@ -20,10 +20,12 @@ class Tests_REST_API extends WP_UnitTestCase { } /** - * The plugin should be installed and activated. + * Checks that the main classes are loaded. */ - function test_rest_api_activated() { + function test_rest_api_active() { $this->assertTrue( class_exists( 'WP_REST_Server' ) ); + $this->assertTrue( class_exists( 'WP_REST_Request' ) ); + $this->assertTrue( class_exists( 'WP_REST_Response' ) ); } /**