diff --git a/tests/RestfulServerTest.php b/tests/RestfulServerTest.php index c8983a2f..3db7e779 100644 --- a/tests/RestfulServerTest.php +++ b/tests/RestfulServerTest.php @@ -178,6 +178,8 @@ class RestfulServerTest_Comment extends DataObject implements PermissionProvider "Comment" => "Text" ); + static $has_many = array(); + public function providePermissions(){ return array( 'EDIT_Comment' => 'Edit Comment Objects',