You are here

public function PasswordPolicyBaseTestCase::setUp in Password Policy 7.2

Implements DrupalWebTestCase::setUp().

Overrides DrupalWebTestCase::setUp

1 call to PasswordPolicyBaseTestCase::setUp()
PasswordPolicyPasswordLengthRestrictionTestCase::setUp in ./password_policy.test
Set up the test.
1 method overrides PasswordPolicyBaseTestCase::setUp()
PasswordPolicyPasswordLengthRestrictionTestCase::setUp in ./password_policy.test
Set up the test.

File

./password_policy.test, line 18
Unit tests for Password policy module.

Class

PasswordPolicyBaseTestCase
Base test case class for Password Policy.

Code

public function setUp() {
  parent::setUp('password_policy', 'password_policy_test');
  $this->account = $this
    ->drupalCreateUser();
  $this->testPolicy = $this
    ->createPolicy();
}