From bf67d7cabc7c4097c12133384e6bd6e3aedc608e Mon Sep 17 00:00:00 2001 From: Andy Staudacher Date: Sun, 11 Jan 2009 03:53:29 +0000 Subject: Fix User_Group tests for MySQL strict mode (can't omit full_name and password in inserts due to missing default values). --- modules/user/tests/User_Groups_Test.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules') diff --git a/modules/user/tests/User_Groups_Test.php b/modules/user/tests/User_Groups_Test.php index f8f25cf1..b30aabd9 100644 --- a/modules/user/tests/User_Groups_Test.php +++ b/modules/user/tests/User_Groups_Test.php @@ -38,6 +38,8 @@ class User_Groups_Test extends Unit_Test_Case { public function add_user_to_group_test() { $user = ORM::factory("user"); $user->name = "user_groups_test"; + $user->full_name = "user groups test"; + $user->password = "test password"; $user->save(); $group = ORM::factory("group"); -- cgit v1.2.3