PHP Class CakeDC\Users\Test\TestCase\Auth\SuperuserAuthorizeTest

Inheritance: extends Cake\TestSuite\TestCase
Show file Open project: cakedc/users

Protected Properties

Property Type Description
$superuserAuthorize CakeDC\Users\Auth\SuperuserAuthorize

Public Methods

Method Description
setUp ( ) Sets up the fixture, for example, opens a network connection.
tearDown ( ) Tears down the fixture, for example, closes a network connection.
testAuthorizeIsNotSuperuser ( )
testAuthorizeIsSuperuser ( )
testAuthorizeWeirdUser ( )

Method Details

setUp() public method

This method is called before a test is executed.
public setUp ( )

tearDown() public method

This method is called after a test is executed.
public tearDown ( )

testAuthorizeIsNotSuperuser() public method

testAuthorizeIsSuperuser() public method

testAuthorizeWeirdUser() public method

Property Details

$superuserAuthorize protected property

protected SuperuserAuthorize,CakeDC\Users\Auth $superuserAuthorize
return CakeDC\Users\Auth\SuperuserAuthorize