diff --git a/cookbook/testing/doctrine.rst b/cookbook/testing/doctrine.rst index 1bb244eef00..1b524f8abad 100644 --- a/cookbook/testing/doctrine.rst +++ b/cookbook/testing/doctrine.rst @@ -62,5 +62,6 @@ which makes all of this quite easy:: { parent::tearDown(); $this->em->close(); + $this->em = null; } }