Frontend\Modules\Blog\Tests\Actions\ArchiveTest::testArchiveWithOnlyYearsContainsBlogPosts PHP Метод

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

    public function testArchiveWithOnlyYearsContainsBlogPosts()
    {
        $client = static::createClient();
        $client->request('GET', '/en/blog/archive/2015');
        self::assertEquals(200, $client->getResponse()->getStatusCode());
        self::assertContains('Blogpost for functional tests', $client->getResponse()->getContent());
    }