diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-11 04:57:49 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-11 04:57:49 +0000 |
commit | 62bb63a70d35feb4517afa29f83cf2f5d7fd4be9 (patch) | |
tree | a47a31aeb2f9f2c4ff9aec3f569a21fd319d77e5 /modules/user/tests | |
parent | db6917b58b0533214560ffef7334f4dc5e9a7cc7 (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')
-rw-r--r-- | modules/user/tests/User_Installer_Test.php | 1 |
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"), |