Eccube\Tests\Plugin\Web\ContactControllerTest::testComplete PHP Method

testComplete() public method

public testComplete ( )
    public function testComplete()
    {
        $client = $this->createClient();
        $crawler = $client->request('POST', $this->app->path('contact'), array('contact' => $this->createFormData(), 'mode' => 'complete'));
        $this->assertTrue($client->getResponse()->isRedirect($this->app->url('contact_complete')));
        $hookpoins = array(EccubeEvents::FRONT_CONTACT_INDEX_INITIALIZE, EccubeEvents::FRONT_CONTACT_INDEX_COMPLETE, EccubeEvents::MAIL_CONTACT);
        $this->verifyOutputString($hookpoins);
    }