public function testCompleteWithActivate()
{
$BaseInfo = $this->app['eccube.repository.base_info']->get();
$BaseInfo->setOptionCustomerActivate(1);
$this->app['orm.em']->flush();
$client = $this->createClient();
$crawler = $client->request('POST', $this->app['url_generator']->generate('entry'), array('entry' => $this->createFormData(), 'mode' => 'complete'));
$this->assertTrue($client->getResponse()->isRedirect($this->app->url('entry_complete')));
$hookpoins = array(EccubeEvents::FRONT_ENTRY_INDEX_INITIALIZE, EccubeEvents::FRONT_ENTRY_INDEX_COMPLETE, EccubeEvents::MAIL_CUSTOMER_CONFIRM);
$this->verifyOutputString($hookpoins);
}