public function it_can_access_the_posts_index_page() { $response = $this->actingAs($this->user)->call('GET', '/admin/post'); $this->assertEquals(200, $response->status()); $this->assertViewHasAll(['data']); }