You are here

function AkamaiHookTestCase::setUp in Akamai 8

Same name and namespace in other branches
  1. 8.2 akamai.test \AkamaiHookTestCase::setUp()
  2. 7.3 akamai.test \AkamaiHookTestCase::setUp()
  3. 7 akamai.test \AkamaiHookTestCase::setUp()
  4. 7.2 akamai.test \AkamaiHookTestCase::setUp()

File

./akamai.test, line 181
Akamai tests.

Class

AkamaiHookTestCase
Test basic API.

Code

function setUp() {
  parent::setUp('akamai', 'akamai_test');
  $user = $this
    ->drupalCreateUser(array(
    'purge akamai cache',
  ));
  $this
    ->drupalLogin($user);
  variable_set('akamai_service_class', 'RecordingCacheControlClient');
}