You are here

public function SecKitTestCase::setUp in Security Kit 7

Same name and namespace in other branches
  1. 6 seckit.test \SecKitTestCase::setUp()

Implements setUp().

Overrides DrupalWebTestCase::setUp

See also

DrupalWebTestCase::setUp()

File

./seckit.test, line 33
Tests for Security Kit module.

Class

SecKitTestCase
Functional tests for Security Kit.

Code

public function setUp() {
  variable_set('clean_url', 1);
  parent::setUp('seckit');
  $this->admin = $this
    ->drupalCreateUser(array(
    'administer seckit',
  ));
  $this
    ->drupalLogin($this->admin);
}