Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 5dd71f4

Browse files
committed
ENH: refs #952. Fix failing tests
1 parent 0c7822a commit 5dd71f4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

core/models/pdo/UserModel.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ function storePasswordHash($hash)
186186
if(!$this->hashExists($hash))
187187
{
188188
$this->database->getDB()->insert('password', array('hash' => $hash));
189-
189+
190190
if(Zend_Registry::get('configDatabase')->database->adapter == 'PDO_PGSQL')
191191
{
192192
// Pgsql doesn't store rows sorted by their pkey so we must explicitly cluster them after each new write,

modules/batchmake/tests/databaseDataset/default.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
<dataset>
33

44
<user user_id="1" firstname="FirstName1" lastname="LastName1"
5-
email="user1@user1.com" password="35fd8ba86ba403ffcc00feac5355ad20" creation="2011-01-27 12:09:02"
5+
email="user1@user1.com" hash_alg="sha256" creation="2011-01-27 12:09:02"
66
folder_id="1000" />
77

88
<user user_id="2" firstname="FirstName2" lastname="LastName2"
9-
email="user2@user2.com" password="35fd8ba86ba403ffcc00feac5355ad20" creation="2011-01-27 12:09:02"
9+
email="user2@user2.com" hash_alg="sha256" creation="2011-01-27 12:09:02"
1010
folder_id="1003" />
1111

1212
<batchmake_itemmetric itemmetric_id="1" metric_name="metric1" bms_name="metric1.bms" />

0 commit comments

Comments
 (0)