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

Inheritance: extends Cake\TestSuite\TestCase
Afficher le fichier Open project: cakedc/users

Méthodes publiques

Свойство Type Description
$fixtures array Fixtures

Méthodes publiques

Méthode 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 méthode

setUp method
public setUp ( ) : void
Résultat void

tearDown() public méthode

tearDown method
public tearDown ( ) : void
Résultat void

testInitialize() public méthode

Test initialize
public testInitialize ( )

testInitializeNoRequiredRememberMe() public méthode

Test initialize with not rememberMe component needed

testIsUrlAuthorizedMissingRouteArray() public méthode

test

testIsUrlAuthorizedMissingRouteString() public méthode

test

testIsUrlAuthorizedNoUrl() public méthode

test
public testIsUrlAuthorizedNoUrl ( ) : void
Résultat void

testIsUrlAuthorizedUrlAbsoluteForCurrentAppString() public méthode

test

testIsUrlAuthorizedUrlAbsoluteForOtherAppString() public méthode

testIsUrlAuthorizedUrlArray() public méthode

test
public testIsUrlAuthorizedUrlArray ( ) : void
Résultat void

testIsUrlAuthorizedUrlRelativeForCurrentAppString() public méthode

test

testIsUrlAuthorizedUrlRelativeString() public méthode

test

testIsUrlAuthorizedUserLoggedInAllowedActionAllowed() public méthode

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 méthode

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 méthode

test

testIsUrlAuthorizedUserNotLoggedInActionAllowed() public méthode

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
Résultat array