Skip to content

Commit b0db127

Browse files
author
Charles J. C. Elling Espejel
committed
Change variable from $em to $manager
1 parent 17b2d65 commit b0db127

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Gedmo/Sortable/SortableTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -798,15 +798,15 @@ public function testSetOutOfBoundsHighPosition()
798798
*/
799799
public function shouldFixIssue1809()
800800
{
801-
$em = $this->em;
801+
$manager = $this->em;
802802
$nodes = [];
803803
for ($i = 1; $i <= 3; $i++) {
804804
$node = new NotifyNode();
805805
$node->setName("Node".$i);
806806
$node->setPath("/");
807-
$em->persist($node);
807+
$manager->persist($node);
808808
$nodes[] = $node;
809-
$this->em->flush();
809+
$manager->flush();
810810
}
811811
foreach($nodes as $i => $node)
812812
{

0 commit comments

Comments
 (0)