AdminRoutesTest::it_can_access_the_edit_posts_page PHP Метод

it_can_access_the_edit_posts_page() публичный Метод

    public function it_can_access_the_edit_posts_page()
    {
        $response = $this->actingAs($this->user)->call('GET', '/admin/post/1/edit');
        $this->assertEquals(200, $response->status());
        $this->assertViewHas(['id', 'title', 'slug', 'subtitle', 'page_image', 'content', 'meta_description', 'is_draft', 'publish_date', 'publish_time', 'published_at', 'updated_at', 'layout', 'tags', 'allTags']);
    }