Eccube\Tests\Web\ShoppingControllerWithNonmemberTest::testNonmemberWithCustomerLogin PHP Method

testNonmemberWithCustomerLogin() public method

    public function testNonmemberWithCustomerLogin()
    {
        $client = $this->client;
        // ユーザーが会員ログイン済みの場合
        $this->logIn();
        $this->scenarioCartIn($client);
        $crawler = $client->request('GET', $this->app->path('shopping_nonmember'));
        $this->assertTrue($client->getResponse()->isRedirect($this->app->url('shopping')));
    }