public function testConfigurationActionWithPostData()
{
$session = new SessionContainer();
$session->offsetSet('install', array('lang' => 'en_GB', 'db' => array('driver' => GC_DATABASE_DRIVER, 'username' => GC_DATABASE_USERNAME, 'dbname' => GC_DATABASE_DATABASE, 'hostname' => GC_DATABASE_HOSTNAME, 'password' => GC_DATABASE_PASSWORD)));
$this->dispatch('/install/configuration', 'POST', array('site_name' => 'GotCms', 'admin_firstname' => 'Pierre', 'admin_lastname' => 'Rambaud', 'admin_email' => '[email protected]', 'admin_login' => 'Got', 'admin_password' => 'test', 'site_is_offline' => '0', 'template' => 'default'));
$this->assertResponseStatusCode(302);
$this->assertModuleName('GcFrontend');
$this->assertControllerName('InstallController');
$this->assertControllerClass('InstallController');
$this->assertMatchedRouteName('install/configuration');
}