diff --git a/endpoint/templates/tests.php b/endpoint/templates/tests.php index ee9097b..1020d08 100644 --- a/endpoint/templates/tests.php +++ b/endpoint/templates/tests.php @@ -42,6 +42,14 @@ function test_class_access() { * @since <%= version %> */ function test_sample() { + /* + wp_set_current_user( $this->administrator ); + + $request = new WP_REST_Request( 'POST', '/endpoint' ); + $request->set_param( 'key', 'value' ); + $response = $this->server->dispatch( $request ); + $this->assertResponseStatus( 200, $response ); + */ $this->assertTrue( true ); }