You are here

protected function PasswordPolicyExpirationTestCase::clearMails in Password Policy 7

Clears all e-mails collected during test.

1 call to PasswordPolicyExpirationTestCase::clearMails()
PasswordPolicyExpirationTestCase::testWarningEmails in tests/password_policy_expiration.test
Tests expiration warning e-mails.

File

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

Class

PasswordPolicyExpirationTestCase
Tests of password expiration.

Code

protected function clearMails() {
  variable_set('drupal_test_email_collector', array());
}