diff --git a/tests/unit/Stubs/RestfulServerTestExceptionThrown.php b/tests/unit/Stubs/RestfulServerTestExceptionThrown.php index a830d6a..1c7cc07 100644 --- a/tests/unit/Stubs/RestfulServerTestExceptionThrown.php +++ b/tests/unit/Stubs/RestfulServerTestExceptionThrown.php @@ -23,7 +23,7 @@ class RestfulServerTestExceptionThrown extends DataObject implements TestOnly 'Title' => 'Text', ); - public function onBeforeWrite() + protected function onBeforeWrite() { parent::onBeforeWrite();