summaryrefslogtreecommitdiff
path: root/modules/user/tests/User_Installer_Test.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-11 04:57:49 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-11 04:57:49 +0000
commit62bb63a70d35feb4517afa29f83cf2f5d7fd4be9 (patch)
treea47a31aeb2f9f2c4ff9aec3f569a21fd319d77e5 /modules/user/tests/User_Installer_Test.php
parentdb6917b58b0533214560ffef7334f4dc5e9a7cc7 (diff)
New user module with password support. This supports the same password mechanism as g1 and g2 to facilitate a migration.
Diffstat (limited to 'modules/user/tests/User_Installer_Test.php')
-rw-r--r--modules/user/tests/User_Installer_Test.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/tests/User_Installer_Test.php b/modules/user/tests/User_Installer_Test.php
index 84699c74..4ececd98 100644
--- a/modules/user/tests/User_Installer_Test.php
+++ b/modules/user/tests/User_Installer_Test.php
@@ -27,6 +27,7 @@ class User_Installer_Test extends Unit_Test_Case {
$user = ORM::factory("user", 1);
$this->assert_equal("Gallery Administrator", $user->display_name);
$this->assert_equal("admin", $user->name);
+ $this->assert_true(user_password::is_correct_password($user, "admin"));
$this->assert_equal(
array("administrator", "registered"),