From 62bb63a70d35feb4517afa29f83cf2f5d7fd4be9 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Tue, 11 Nov 2008 04:57:49 +0000 Subject: New user module with password support. This supports the same password mechanism as g1 and g2 to facilitate a migration. --- modules/user/tests/User_Installer_Test.php | 1 + 1 file changed, 1 insertion(+) (limited to 'modules/user/tests') 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"), -- cgit v1.2.3