diff options
author | Andy Staudacher <andy.st@gmail.com> | 2009-01-11 03:53:29 +0000 |
---|---|---|
committer | Andy Staudacher <andy.st@gmail.com> | 2009-01-11 03:53:29 +0000 |
commit | bf67d7cabc7c4097c12133384e6bd6e3aedc608e (patch) | |
tree | ea574d5f4dc554206a930a9ea8843befaf603d7c /modules/user/tests | |
parent | 9406e80c908ce82755a3cacc24413d4d7df7f0d2 (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/tests')
-rw-r--r-- | modules/user/tests/User_Groups_Test.php | 2 |
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"); |