PHP Class Acl\Test\TestCase\Auth\ActionsAuthorizeTest

Inheritance: extends Cake\TestSuite\TestCase
Show file Open project: cakephp/acl

Public Methods

Method Description
setUp ( ) : void setUp
testActionMethod ( ) : void test action()
testActionNoDoubleSlash ( ) : void Make sure that action() doesn't create double slashes anywhere.
testActionWithPlugin ( ) : void test action() and plugins
testActionWithPluginAndPrefix ( )
testActionWithPrefix ( )
testAuthorizeFailure ( ) : void test failure
testAuthorizeSettings ( ) : void testAuthorizeSettings
testAuthorizeSuccess ( ) : void test isAuthorized working.

Protected Methods

Method Description
_mockAcl ( ) : void setup the mock acl.

Method Details

_mockAcl() protected method

setup the mock acl.
protected _mockAcl ( ) : void
return void

setUp() public method

setUp
public setUp ( ) : void
return void

testActionMethod() public method

test action()
public testActionMethod ( ) : void
return void

testActionNoDoubleSlash() public method

Make sure that action() doesn't create double slashes anywhere.
public testActionNoDoubleSlash ( ) : void
return void

testActionWithPlugin() public method

test action() and plugins
public testActionWithPlugin ( ) : void
return void

testActionWithPluginAndPrefix() public method

testActionWithPrefix() public method

testAuthorizeFailure() public method

test failure
public testAuthorizeFailure ( ) : void
return void

testAuthorizeSettings() public method

testAuthorizeSettings
public testAuthorizeSettings ( ) : void
return void

testAuthorizeSuccess() public method

test isAuthorized working.
public testAuthorizeSuccess ( ) : void
return void