Property | Type | Description | |
---|---|---|---|
$object |
Method | Description | |
---|---|---|
authCheckProvider ( ) : array | Data provider for testAuthCheck | |
doMockResponse ( $set_minimal, $body_id, $set_title ) | ||
setup ( ) : void | Configures global environment. | |
tearDown ( ) : void | tearDown for test cases | |
testAuthCheck ( string $user, string $pass, string $userIndex, string $passIndex, string $expectedReturn, string $expectedUser, string $expectedPass, string $old_usr = '' ) : void | Test for PMA\libraries\plugins\auth\AuthenticationHttp::authCheck | |
testAuthFails ( ) : void | Test for PMA\libraries\plugins\auth\AuthenticationHttp::authSetFails | |
testAuthHost ( ) | ||
testAuthLogoutUrl ( ) : void | Test for PMA\libraries\plugins\auth\AuthenticationHttp::auth | |
testAuthRealm ( ) | ||
testAuthSetUser ( ) : void | Test for PMA\libraries\plugins\auth\AuthenticationHttp::authSetUser | |
testAuthVerbose ( ) |
public authCheckProvider ( ) : array | ||
return | array | Test data |
public testAuthCheck ( string $user, string $pass, string $userIndex, string $passIndex, string $expectedReturn, string $expectedUser, string $expectedPass, string $old_usr = '' ) : void | ||
$user | string | test username |
$pass | string | test password |
$userIndex | string | index to test username against |
$passIndex | string | index to test username against |
$expectedReturn | string | expected return value from test |
$expectedUser | string | expected username to be set |
$expectedPass | string | expected password to be set |
$old_usr | string | value for $_REQUEST['old_usr'] |
return | void |
public testAuthFails ( ) : void | ||
return | void |
public testAuthLogoutUrl ( ) : void | ||
return | void |
public testAuthSetUser ( ) : void | ||
return | void |