Commit 760292ee authored by Dries's avatar Dries
Browse files

Issue #2017217 by alexpott: Fixed Random failure on UserPasswordResetTest.

parent b537ccd5
......@@ -39,6 +39,14 @@ public function setUp() {
$this->account = user_load($account->uid);
// Set the last login time that is used to generate the one-time link so
// that it is definitely over a second ago.
$account->login = REQUEST_TIME - mt_rand(10, 100000);
->fields(array('login' => $account->login))
->condition('uid', $account->uid)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment