PHP Class CakeDC\Users\Test\TestCase\Controller\Component\UsersAuthComponentTest

Inheritance: extends Cake\TestSuite\TestCase
Datei anzeigen Open project: cakedc/users

Public Properties

Property Type Description
$fixtures array Fixtures

Public Methods

Method Description
setUp ( ) : void setUp method
tearDown ( ) : void tearDown method
testInitialize ( ) Test initialize
testInitializeNoRequiredRememberMe ( ) Test initialize with not rememberMe component needed
testIsUrlAuthorizedMissingRouteArray ( ) : void test
testIsUrlAuthorizedMissingRouteString ( ) : void test
testIsUrlAuthorizedNoUrl ( ) : void test
testIsUrlAuthorizedUrlAbsoluteForCurrentAppString ( ) : void test
testIsUrlAuthorizedUrlAbsoluteForOtherAppString ( ) : void
testIsUrlAuthorizedUrlArray ( ) : void test
testIsUrlAuthorizedUrlRelativeForCurrentAppString ( ) : void test
testIsUrlAuthorizedUrlRelativeString ( ) : void test
testIsUrlAuthorizedUserLoggedInAllowedActionAllowed ( ) : void test The user is logged in and allowed by rules to access this action, and the controller action is public $this->Auth->allow()
testIsUrlAuthorizedUserLoggedInNotAllowedActionAllowed ( ) : void test The user is logged in and not allowed by rules to access this action, but the controller action is public $this->Auth->allow()
testIsUrlAuthorizedUserNotLoggedIn ( ) : void test
testIsUrlAuthorizedUserNotLoggedInActionAllowed ( ) : void test The user is not logged in, but the controller action is public $this->Auth->allow()

Method Details

setUp() public method

setUp method
public setUp ( ) : void
return void

tearDown() public method

tearDown method
public tearDown ( ) : void
return void

testInitialize() public method

Test initialize
public testInitialize ( )

testInitializeNoRequiredRememberMe() public method

Test initialize with not rememberMe component needed

testIsUrlAuthorizedMissingRouteArray() public method

test

testIsUrlAuthorizedMissingRouteString() public method

test

testIsUrlAuthorizedNoUrl() public method

test
public testIsUrlAuthorizedNoUrl ( ) : void
return void

testIsUrlAuthorizedUrlAbsoluteForCurrentAppString() public method

test

testIsUrlAuthorizedUrlAbsoluteForOtherAppString() public method

testIsUrlAuthorizedUrlArray() public method

test
public testIsUrlAuthorizedUrlArray ( ) : void
return void

testIsUrlAuthorizedUrlRelativeForCurrentAppString() public method

test

testIsUrlAuthorizedUrlRelativeString() public method

test

testIsUrlAuthorizedUserLoggedInAllowedActionAllowed() public method

test The user is logged in and allowed by rules to access this action, and the controller action is public $this->Auth->allow()

testIsUrlAuthorizedUserLoggedInNotAllowedActionAllowed() public method

test The user is logged in and not allowed by rules to access this action, but the controller action is public $this->Auth->allow()

testIsUrlAuthorizedUserNotLoggedIn() public method

test

testIsUrlAuthorizedUserNotLoggedInActionAllowed() public method

test The user is not logged in, but the controller action is public $this->Auth->allow()

Property Details

$fixtures public_oe property

Fixtures
public array $fixtures
return array