You are here

protected function PasswordPolicyAuthmapTestCase::createPolicyMaker in Password Policy 7

Creates policy maker.

1 call to PasswordPolicyAuthmapTestCase::createPolicyMaker()
PasswordPolicyAuthmapTestCase::setUp in tests/password_policy_authmap.test
Set up the test.

File

tests/password_policy_authmap.test, line 60
Functional tests for excluding authentication modules from policies.

Class

PasswordPolicyAuthmapTestCase
Tests of basic Password Policy constraints.

Code

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