Two of the password expiration test methods pass or fail depending on luck.

The problem is they check for expiration emails for a particular user using assertMail(), but the test methods do not account for the fact that the admin (uid=1) password also expires and generates expiration emails. How the expiration emails for the test user and admin are ordered in the drupal_test_email_collector variable checked by assertMail() is undefined.

Patch forthcoming.

Comments

AohRveTPV created an issue. See original summary.

aohrvetpv’s picture

Status: Active » Needs review
StatusFileSize
new2.54 KB

  • AohRveTPV committed 50cf2f9 on 7.x-1.x
    Issue #2857748 by AohRveTPV: Password expiration tests do not reliably...
aohrvetpv’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.