PHP Class Bolt\Tests\Controller\Backend\AuthenticationTest

Author: Ross Riley ([email protected])
Author: Gawain Lynch ([email protected])
Mostra file Open project: bolt/bolt

Public Methods

Method Description
testLoginSuccess ( )
testLogout ( )
testPostLogin ( )
testPostLoginFailures ( )
testPostLoginWithEmail ( )
testResetPassword ( )
testResetRequest ( )

Protected Methods

Method Description
controller ( ) : Authentication
getMockPassword ( array $methods ) : Password | PHPUnit_Framework_MockObject_MockObject

Method Details

controller() protected method

protected controller ( ) : Authentication
return Bolt\Controller\Backend\Authentication

getMockPassword() protected method

protected getMockPassword ( array $methods ) : Password | PHPUnit_Framework_MockObject_MockObject
$methods array
return Bolt\AccessControl\Password | PHPUnit_Framework_MockObject_MockObject

testLoginSuccess() public method

public testLoginSuccess ( )

testLogout() public method

public testLogout ( )

testPostLogin() public method

public testPostLogin ( )

testPostLoginFailures() public method

testPostLoginWithEmail() public method

testResetPassword() public method

public testResetPassword ( )

testResetRequest() public method

public testResetRequest ( )