You are here

function EncryptConfigTest::setUp in Encrypt 7.3

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

Enable encrypt module; create and log in privileged user.

Overrides DrupalWebTestCase::setUp

File

./encrypt.test, line 241
Tests for encrypt.module

Class

EncryptConfigTest
Test configurations.

Code

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