Eccube\Tests\Web\Admin\Customer\CustomerControllerTest::testResend PHP Method

testResend() public method

testResend
public testResend ( )
    public function testResend()
    {
        $Customer = $this->createCustomer();
        $this->client->request('PUT', $this->app->path('admin_customer_resend', array('id' => $Customer->getId())));
        $this->assertTrue($this->client->getResponse()->isRedirect($this->app->url('admin_customer')));
        $Messages = $this->getMailCatcherMessages();
        $Message = $this->getMailCatcherMessage($Messages[0]->id);
        $BaseInfo = $this->app['eccube.repository.base_info']->get();
        $this->expected = '[' . $BaseInfo->getShopName() . '] 会員登録のご確認';
        $this->actual = $Message->subject;
        $this->verify();
    }