You are here

function authcache_test_authcache_excluded in Authenticated User Page Caching (Authcache) 7.2

Implements hook_authcache_excluded().

3 string references to 'authcache_test_authcache_excluded'
AuthcacheWebTestCase::assertAuthcacheExcluded in ./authcache.test
Test whether the preceeding request did hit an exclusion rule.
AuthcacheWebTestCase::assertAuthcacheNotExcluded in ./authcache.test
Test whether the preceeding request did not hit any exclusion rule.
AuthcacheWebTestCase::resetTestVariables in ./authcache.test
Reset the variables used for communicating to authcache_test module.

File

tests/authcache_test.module, line 359
Mock module to aid in testing authcache.module.

Code

function authcache_test_authcache_excluded($reason) {

  // Do not record anything resulting from test user login/logout
  if (variable_get('authcache_test_record')) {
    variable_set('authcache_test_authcache_excluded', $reason);
  }
}