diff --git a/cookbook/form/unit_testing.rst b/cookbook/form/unit_testing.rst index 675ffe85a98..1fe851f293b 100644 --- a/cookbook/form/unit_testing.rst +++ b/cookbook/form/unit_testing.rst @@ -128,6 +128,8 @@ make sure the ``FormRegistry`` uses the created instance:: { // mock any dependencies $this->entityManager = $this->getMock('Doctrine\Common\Persistence\ObjectManager'); + + parent::setUp(); } protected function getExtensions()