Eccube\Tests\Web\Admin\Setting\Shop\CustomerAgreementControllerTest::testSubmit PHP Method

testSubmit() public method

Change customer agreement
public testSubmit ( mixed $content, boolean $expected )
$content mixed
$expected boolean
    public function testSubmit($content, $expected)
    {
        $this->client->request('POST', $this->app->url('admin_setting_shop_customer_agreement'), array('customer_agreement' => $this->createFormData($content)));
        $this->expected = $expected;
        $this->actual = $this->client->getResponse()->isRedirection();
        $this->verify();
    }