function AkamaiHookTestCase::setUp in Akamai 8
Same name and namespace in other branches
- 8.2 akamai.test \AkamaiHookTestCase::setUp()
- 7.3 akamai.test \AkamaiHookTestCase::setUp()
- 7 akamai.test \AkamaiHookTestCase::setUp()
- 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');
}