Eccube\Tests\Web\Admin\Setting\Shop\TaxRuleControllerTest::testEditParamFail PHP Method

testEditParamFail() public method

public testEditParamFail ( )
    public function testEditParamFail()
    {
        $BaseInfo = $this->app['eccube.repository.base_info']->get();
        $taxRule = $BaseInfo->getOptionProductTaxRule();
        $this->client->request('POST', $this->app->url('admin_setting_shop_tax_edit_param', array('id' => 1)), array('tax_rule' => array('_token' => 'dummy', 'option_product_tax_rule' => 9999)));
        $redirectUrl = $this->app->url('admin_setting_shop_tax');
        $this->assertTrue($this->client->getResponse()->isRedirect($redirectUrl));
        $this->expected = $taxRule;
        $this->actual = $BaseInfo->getOptionProductTaxRule();
        $this->verify();
    }