diff --git a/endpoint/templates/tests.php b/endpoint/templates/tests.php index ee9097b..938fdb1 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', '/no-nonsense-google-analytics/v1/tracking-code' ); + $request->set_param( 'key', 'value' ); + $response = $this->server->dispatch( $request ); + $this->assertResponseStatus( 200, $response ); + */ $this->assertTrue( true ); }