get('/'); $response->assertStatus(200); } public function test_store() { //testing store $response = $this->withHeaders([ 'Authorization' => $this->token, ])->json('POST', '/api/v2/discussion-count', [ 'course_id'=>'b3145a94-e400-459d-9507-acbb05256e4e', 'sentences'=>[[168,916,2,9]], ]); $response->assertOk(); } }