We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c24df5 commit a3fd21aCopy full SHA for a3fd21a
cookbook/testing/doctrine.rst
@@ -39,7 +39,7 @@ which makes all of this quite easy::
39
{
40
static::$kernel = static::createKernel();
41
static::$kernel->boot();
42
- $this->em = static::$kernel->getContainer()->get('doctrine')->getEntityManager();
+ $this->em = static::$kernel->getContainer()->get('doctrine')->getManager();
43
}
44
45
public function testSearchByCategoryName()
0 commit comments