function authcache_test_authcache_canceled in Authenticated User Page Caching (Authcache) 7.2
Implements hook_authcache_canceled().
3 string references to 'authcache_test_authcache_canceled'
- AuthcacheWebTestCase::assertAuthcacheCanceled in ./
authcache.test - Test whether the preceeding request did hit an cancelation rule.
- AuthcacheWebTestCase::assertAuthcacheNotCanceled in ./
authcache.test - Test whether the preceeding request did hit an cancelation rule.
- AuthcacheWebTestCase::resetTestVariables in ./
authcache.test - Reset the variables used for communicating to authcache_test module.
File
- tests/
authcache_test.module, line 378 - Mock module to aid in testing authcache.module.
Code
function authcache_test_authcache_canceled($reason) {
// Do not record anything resulting from test user login/logout
if (variable_get('authcache_test_record')) {
variable_set('authcache_test_authcache_canceled', $reason);
}
}