Skip to content

Commit a3fd21a

Browse files
committed
[#1952] Changing to getManager for Doctrine
1 parent 5c24df5 commit a3fd21a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/testing/doctrine.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ which makes all of this quite easy::
3939
{
4040
static::$kernel = static::createKernel();
4141
static::$kernel->boot();
42-
$this->em = static::$kernel->getContainer()->get('doctrine')->getEntityManager();
42+
$this->em = static::$kernel->getContainer()->get('doctrine')->getManager();
4343
}
4444

4545
public function testSearchByCategoryName()

0 commit comments

Comments
 (0)