You are here

function authcache_test_authcache_precluded in Authenticated User Page Caching (Authcache) 7.2

Implements hook_authcache_precluded().

3 string references to 'authcache_test_authcache_precluded'
AuthcacheWebTestCase::assertAuthcacheNotPrecluded in ./authcache.test
Test whether the preceeding request did not hit any preclusion rule.
AuthcacheWebTestCase::assertAuthcachePrecluded in ./authcache.test
Test whether the preceeding request did hit an preclusion rule.
AuthcacheWebTestCase::resetTestVariables in ./authcache.test
Reset the variables used for communicating to authcache_test module.

File

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

Code

function authcache_test_authcache_precluded($reason) {

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