Eccube\Tests\Web\ShoppingControllerTest::testShoppingIndexWithCartUnlock PHP Method

testShoppingIndexWithCartUnlock() public method

    public function testShoppingIndexWithCartUnlock()
    {
        $this->app['eccube.service.cart']->unlock();
        $client = $this->createClient();
        $crawler = $client->request('GET', $this->app->path('shopping'));
        $this->assertTrue($client->getResponse()->isRedirect($this->app->url('cart')));
    }