GcConfig\Controller\UserControllerTest::testLoginAction PHP Méthode

testLoginAction() public méthode

Test
public testLoginAction ( ) : void
Résultat void
    public function testLoginAction()
    {
        $auth = new AuthenticationService(new Storage\Session(UserModel::BACKEND_AUTH_NAMESPACE));
        $auth->clearIdentity();
        $this->dispatch('/admin/config/user/login');
        $this->assertResponseStatusCode(200);
        $this->assertModuleName('GcConfig');
        $this->assertControllerName('UserController');
        $this->assertControllerClass('UserController');
        $this->assertMatchedRouteName('config/user/login');
    }