function CasSingleSignOutTestCase::testSingleSignOutDoubleEncode in CAS 6.3
Same name and namespace in other branches
- 7 cas.test \CasSingleSignOutTestCase::testSingleSignOutDoubleEncode()
File
- ./
cas.test, line 675 - Tests for cas.module.
Class
- CasSingleSignOutTestCase
- Test CAS Single Sign-Out.
Code
function testSingleSignOutDoubleEncode() {
// Create a user, and log in.
$cas_name = $this
->randomName();
$account = $this
->casCreateUser($cas_name);
$this
->casLogin($account);
cas_test_single_sign_out($cas_name, TRUE);
$this
->assertLoggedOut();
// @todo: Add additional tests for other methods of logging in (especially
// methods coming from cas_pages).
}