MDL-35332: Use fast hash when generating hashes during tests

This commit is contained in:
Simon Coggins 2013-02-11 21:38:07 +13:00
parent ec2d8ceb88
commit 5c4ffeb883

View File

@ -204,7 +204,8 @@ EOD;
$record['timemodified'] = $record['timecreated'];
$record['lastip'] = '0.0.0.0';
$record['password'] = hash_internal_user_password($record['password']);
// Use fast hash during testing.
$record['password'] = hash_internal_user_password($record['password'], true);
if ($record['deleted']) {
$delname = $record['email'].'.'.time();