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