Eccube\Tests\Plugin\Web\ShoppingControllerWithNonmemberTest::testConfirmWithNonmember PHP Method

testConfirmWithNonmember() public method

非会員情報入力→購入確認画面
    public function testConfirmWithNonmember()
    {
        $client = $this->createClient();
        $this->scenarioCartIn($client);
        $hookpoins = array(EccubeEvents::FRONT_CART_ADD_INITIALIZE, EccubeEvents::FRONT_CART_ADD_COMPLETE);
        $formData = $this->createNonmemberFormData();
        $this->scenarioInput($client, $formData);
        $hookpoins = array_merge($hookpoins, array(EccubeEvents::FRONT_SHOPPING_NONMEMBER_INITIALIZE, EccubeEvents::FRONT_SHOPPING_NONMEMBER_COMPLETE));
        $crawler = $client->request('GET', $this->app->path('shopping'));
        $this->assertTrue($client->getResponse()->isSuccessful());
        $hookpoins = array_merge($hookpoins, array(EccubeEvents::FRONT_SHOPPING_INDEX_INITIALIZE));
        $this->verifyOutputString($hookpoins);
    }