PHP 클래스 Backend\Modules\Authentication\Tests\Action\IndexTest

상속: extends common\WebTestCase
파일 보기 프로젝트 열기: forkcms/forkcms

공개 메소드들

메소드 설명
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.