public testLicenseActionWithPostData ( ) : void | ||
return | void |
public function testLicenseActionWithPostData()
{
$session = new SessionContainer();
$session->offsetSet('install', array('lang' => 'en_GB'));
$this->dispatch('/install/license', 'POST', array('accept-license' => '1'));
$this->assertResponseStatusCode(302);
$this->assertModuleName('GcFrontend');
$this->assertControllerName('InstallController');
$this->assertControllerClass('InstallController');
$this->assertMatchedRouteName('install/license');
}