You are here

function CasTestHelper::clearCasUser in CAS 6.3

Same name and namespace in other branches
  1. 7 cas.test \CasTestHelper::clearCasUser()

Clear the CAS username and attributes for the next CAS login request.

1 call to CasTestHelper::clearCasUser()
CasRequiredLoginTestCase::testCasPages in ./cas.test
Test redirection forced by cas_access and cas_pages variables.

File

./cas.test, line 177
Tests for cas.module.

Class

CasTestHelper
@file Tests for cas.module.

Code

function clearCasUser() {
  variable_del('cas_test_cas_user');
}