diff --git a/cookbook/testing/doctrine.rst b/cookbook/testing/doctrine.rst index b240a3fe652..1bb244eef00 100644 --- a/cookbook/testing/doctrine.rst +++ b/cookbook/testing/doctrine.rst @@ -35,7 +35,7 @@ which makes all of this quite easy:: /** * {@inheritDoc} */ - public function setUp() + protected function setUp() { static::$kernel = static::createKernel(); static::$kernel->boot();