PHP Класс Backend\Modules\Authentication\Tests\Action\IndexTest

Наследование: extends common\WebTestCase
Показать файл Открыть проект

Открытые методы

Метод Описание
testAuthenticationIndexWorks ( )
testAuthenticationWithCorrectCredentials ( )
testAuthenticationWithWrongCredentials ( )
testPagesUserWithCorrectCredentials ( ) Login as a pages user.
testPrivateContainsRobotsTag ( )
testPrivateRedirectsToAuthentication ( )
testUsersUserWithCorrectCredentials ( ) Login as a users user.

Защищенные методы

Метод Описание
tearDown ( ) The authentication class persist the previous user.

Описание методов

tearDown() защищенный Метод

In practice this situation will almost never occur: Login with one user, log out and subsequently log in with another user without a page reload to reinitialize the application. If the clients could be insulated from eachother, this would not be an issue.
protected tearDown ( )

testAuthenticationIndexWorks() публичный Метод

testAuthenticationWithCorrectCredentials() публичный Метод

testAuthenticationWithWrongCredentials() публичный Метод

testPagesUserWithCorrectCredentials() публичный Метод

This user has the rights to access only the pages module.

testPrivateContainsRobotsTag() публичный Метод

testPrivateRedirectsToAuthentication() публичный Метод

testUsersUserWithCorrectCredentials() публичный Метод

This user only has the rights to access the users edit action. It should enable the user to edit his own user-account.