Aimeos\ShopBundle\Tests\Controller\JqadmControllerTest::testSearchAction PHP Method

testSearchAction() public method

public testSearchAction ( )
    public function testSearchAction()
    {
        $client = static::createClient(array(), array('PHP_AUTH_USER' => 'admin', 'PHP_AUTH_PW' => 'adminpass'));
        $client->request('GET', '/unittest/jqadm/search/product');
        $response = $client->getResponse();
        $this->assertEquals(200, $response->getStatusCode());
        $this->assertContains('<table class="list-items', $response->getContent());
    }