PHP Class TinyAuth\Test\TestCase\Controller\Component\AuthComponentTest

Inheritance: extends Cake\TestSuite\TestCase
显示文件 Open project: dereuromark/cakephp-tinyauth

Protected Properties

Property Type Description
$AuthComponent TinyAuth\Controller\Component\AuthComponent
$componentConfig array

Public Methods

Method Description
setUp ( ) : void
testInvalid ( ) : void
testValid ( ) : void
testValidAnyAction ( ) : void

Protected Methods

Method Description
getControllerMock ( Cake\Network\Request $request ) : Controller

Method Details

getControllerMock() protected method

protected getControllerMock ( Cake\Network\Request $request ) : Controller
$request Cake\Network\Request
return Cake\Controller\Controller

setUp() public method

public setUp ( ) : void
return void

testInvalid() public method

public testInvalid ( ) : void
return void

testValid() public method

public testValid ( ) : void
return void

testValidAnyAction() public method

public testValidAnyAction ( ) : void
return void

Property Details

$AuthComponent protected_oe property

protected AuthComponent,TinyAuth\Controller\Component $AuthComponent
return TinyAuth\Controller\Component\AuthComponent

$componentConfig protected_oe property

protected array $componentConfig
return array