You are here

protected function PasswordPolicyExpirationTestCase::createPolicyMaker in Password Policy 7

Creates policy maker.

1 call to PasswordPolicyExpirationTestCase::createPolicyMaker()
PasswordPolicyExpirationTestCase::setUp in tests/password_policy_expiration.test
Sets up the test.

File

tests/password_policy_expiration.test, line 53
Tests for Password policy module expiration functionality.

Class

PasswordPolicyExpirationTestCase
Tests of password expiration.

Code

protected function createPolicyMaker() {
  $this->policyMaker = $this
    ->drupalCreateUser(array(
    'administer users',
    'administer permissions',
    'administer password policies',
    'unblock expired accounts',
  ));
}