Eccube\Tests\Plugin\Web\Admin\Setting\Shop\TaxRuleControllerTest::test_routeing_AdminProductTax_edit PHP Метод

test_routeing_AdminProductTax_edit() публичный Метод

    public function test_routeing_AdminProductTax_edit()
    {
        $this->client->request('POST', $this->app->url('admin_setting_shop_tax_edit_param', array('id' => 1)));
        $redirectUrl = $this->app->url('admin_setting_shop_tax');
        $this->assertSame(true, $this->client->getResponse()->isRedirect($redirectUrl));
        $hookpoins = array(EccubeEvents::ADMIN_SETTING_SHOP_TAX_RULE_EDIT_PARAMETER_INITIALIZE);
        $this->verifyOutputString($hookpoins);
    }