public function testConfigurationActionWithInvalidPostData() { $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()); $this->assertResponseStatusCode(200); $this->assertModuleName('GcFrontend'); $this->assertControllerName('InstallController'); $this->assertControllerClass('InstallController'); $this->assertMatchedRouteName('install/configuration'); }