GcFrontend\Controller\InstallControllerTest::testCheckInstallFifthStep PHP Метод

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

Test
public testCheckInstallFifthStep ( ) : void
Результат void
    public function testCheckInstallFifthStep()
    {
        $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/complete');
        $this->assertResponseStatusCode(302);
        $this->assertModuleName('GcFrontend');
        $this->assertControllerName('InstallController');
        $this->assertControllerClass('InstallController');
        $this->assertMatchedRouteName('install/complete');
    }