Aimeos\ShopBundle\Tests\Controller\AdminControllerTest::testIndex PHP 메소드

testIndex() 공개 메소드

public testIndex ( )
    public function testIndex()
    {
        $client = static::createClient();
        $client->request('GET', '/admin');
        $response = $client->getResponse();
        $this->assertEquals(200, $response->getStatusCode());
        $this->assertContains('<form class="login"', $response->getContent());
    }
AdminControllerTest