PHP Class Eccube\Tests\Web\Admin\Setting\Shop\CustomerAgreementControllerTest

Show file Open project: ec-cube/ec-cube

Public Methods

Method Description
createFormData ( string $content = '' ) : array
dataSubmitProvider ( ) : array
testRoutingAdminSettingCustomerAgreement ( ) Test routing admin customer agreement
testSubmit ( mixed $content, boolean $expected ) Change customer agreement

Method Details

createFormData() public method

public createFormData ( string $content = '' ) : array
$content string
return array

dataSubmitProvider() public method

public dataSubmitProvider ( ) : array
return array

testRoutingAdminSettingCustomerAgreement() public method

Test routing admin customer agreement

testSubmit() public method

Change customer agreement
public testSubmit ( mixed $content, boolean $expected )
$content mixed
$expected boolean