summaryrefslogtreecommitdiff
path: root/modules/user
diff options
context:
space:
mode:
authorAndy Staudacher <andy.st@gmail.com>2009-01-11 03:53:29 +0000
committerAndy Staudacher <andy.st@gmail.com>2009-01-11 03:53:29 +0000
commitbf67d7cabc7c4097c12133384e6bd6e3aedc608e (patch)
treeea574d5f4dc554206a930a9ea8843befaf603d7c /modules/user
parent9406e80c908ce82755a3cacc24413d4d7df7f0d2 (diff)
Fix User_Group tests for MySQL strict mode (can't omit full_name and password in inserts due to missing default values).
Diffstat (limited to 'modules/user')
-rw-r--r--modules/user/tests/User_Groups_Test.php2
1 files changed, 2 insertions, 0 deletions
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");