You are here

public function EncryptConfigTest::setUp in Encrypt 7.2

Same name and namespace in other branches
  1. 7.3 encrypt.test \EncryptConfigTest::setUp()

Enable encrypt module; create and log in privileged user.

Overrides DrupalWebTestCase::setUp

File

./encrypt.test, line 245
Tests for the project Encrypt.

Class

EncryptConfigTest
Test configurations.

Code

public function setUp() {
  parent::setUp('encrypt');
  $this->privilegedUser = $this
    ->drupalCreateUser(array(
    'administer encrypt',
  ));
  $this
    ->drupalLogin($this->privilegedUser);
}