You are here

protected function AuthcacheCommentTest::drupalGetToken in Authenticated User Page Caching (Authcache) 7.2

Overrides the defective method in the parent class.

Overrides DrupalWebTestCase::drupalGetToken

1 call to AuthcacheCommentTest::drupalGetToken()
AuthcacheCommentTest::testCommentAttributionWithFormCache in modules/authcache_comment/authcache_comment.test
Test that comments get properly attributed when the form cache is in use.

File

modules/authcache_comment/authcache_comment.test, line 582
Test cases for the Authcache Comment module.

Class

AuthcacheCommentTest
Tests for markup substitution.

Code

protected function drupalGetToken($value = '') {
  return drupal_hmac_base64($value, $this->session_id . drupal_get_private_key() . drupal_get_hash_salt());
}