diff --git a/phpunit/class-gutenberg-rest-templates-controller-test.php b/phpunit/class-gutenberg-rest-templates-controller-test.php index d8447704bd3739..e86f9db5d848e1 100644 --- a/phpunit/class-gutenberg-rest-templates-controller-test.php +++ b/phpunit/class-gutenberg-rest-templates-controller-test.php @@ -62,35 +62,43 @@ public function test_get_template_fallback() { $this->assertSame( 'index', $response->get_data()['slug'], 'Should fallback to `index.html`.' ); } - public function test_context_param() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_context_param() {} - public function test_get_items() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_get_items() {} - public function test_get_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_get_item() {} - public function test_create_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_create_item() {} - public function test_update_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_update_item() {} - public function test_delete_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_delete_item() {} - public function test_prepare_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_prepare_item() {} - public function test_get_item_schema() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_get_item_schema() {} } diff --git a/phpunit/class-wp-rest-block-pattern-categories-controller-test.php b/phpunit/class-wp-rest-block-pattern-categories-controller-test.php index bdbaa819ba3f80..d4fb4e1b08842c 100644 --- a/phpunit/class-wp-rest-block-pattern-categories-controller-test.php +++ b/phpunit/class-wp-rest-block-pattern-categories-controller-test.php @@ -80,32 +80,38 @@ public function test_get_items() { /** * Abstract methods that we must implement. + * + * @doesNotPerformAssertions */ - public function test_context_param() { - $this->markTestIncomplete(); - } + public function test_context_param() {} - public function test_get_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_get_item() {} - public function test_create_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_create_item() {} - public function test_update_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_update_item() {} - public function test_delete_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_delete_item() {} - public function test_prepare_item() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_prepare_item() {} - public function test_get_item_schema() { - $this->markTestIncomplete(); - } + /** + * @doesNotPerformAssertions + */ + public function test_get_item_schema() {} } diff --git a/phpunit/class-wp-test-rest-users-controller.php b/phpunit/class-wp-test-rest-users-controller.php index 59c7c1ca3f22ab..522c4d763c5637 100644 --- a/phpunit/class-wp-test-rest-users-controller.php +++ b/phpunit/class-wp-test-rest-users-controller.php @@ -156,34 +156,50 @@ public function set_up() { /** * The following methods are implemented in core and tested. * We need to define them here because they exist in the abstract parent. + * + * @doesNotPerformAssertions */ - public function test_register_routes() { - $this->markTestIncomplete(); - } - public function test_context_param() { - $this->markTestIncomplete(); - } - public function test_get_item() { - $this->markTestIncomplete(); - } - public function test_prepare_item() { - $this->markTestIncomplete(); - } - public function test_create_item() { - $this->markTestIncomplete(); - } - public function test_update_item() { - $this->markTestIncomplete(); - } - public function test_delete_item() { - $this->markTestIncomplete(); - } - public function test_get_items() { - $this->markTestIncomplete(); - } - public function test_get_item_schema() { - $this->markTestIncomplete(); - } + public function test_register_routes() {} + + /** + * @doesNotPerformAssertions + */ + public function test_context_param() {} + + /** + * @doesNotPerformAssertions + */ + public function test_get_item() {} + + /** + * @doesNotPerformAssertions + */ + public function test_prepare_item() {} + + /** + * @doesNotPerformAssertions + */ + public function test_create_item() {} + + /** + * @doesNotPerformAssertions + */ + public function test_update_item() {} + + /** + * @doesNotPerformAssertions + */ + public function test_delete_item() {} + + /** + * @doesNotPerformAssertions + */ + public function test_get_items() {} + + /** + * @doesNotPerformAssertions + */ + public function test_get_item_schema() {} public function test_registered_query_params() { $request = new WP_REST_Request( 'OPTIONS', '/wp/v2/users' );