Fix User_Group tests for MySQL strict mode (can't omit full_name and password in inserts due to missing default values).

This commit is contained in:
Andy Staudacher
2009-01-11 03:53:29 +00:00
parent 9406e80c90
commit bf67d7cabc

View File

@@ -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");