You are here

function AkamaiTestCase::setUp in Akamai 8

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

File

./akamai.test, line 21
Akamai tests.

Class

AkamaiTestCase
Test basic API.

Code

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