protected function AuthcacheUbercartTest::drupalGetToken in Authenticated User Page Caching (Authcache) 7.2
Overrides the defective method in the parent class.
Overrides DrupalWebTestCase::drupalGetToken
1 call to AuthcacheUbercartTest::drupalGetToken()
- AuthcacheUbercartTest::testUbercartAddToCartWithFormCache in modules/
authcache_ubercart/ authcache_ubercart.test - Test that products are added to the proper cart.
File
- modules/
authcache_ubercart/ authcache_ubercart.test, line 141 - Test cases for the Authcache Ubercart module.
Class
- AuthcacheUbercartTest
- 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());
}