Skip to content

Commit

Permalink
Merge branch '2.8.x' into doctrineGH-8410-FixMemoryLeakToIterable
Browse files Browse the repository at this point in the history
  • Loading branch information
beberlei committed Feb 16, 2021
2 parents b5f740c + 3a9b8fd commit ad5c72b
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -166,12 +166,12 @@ public function testDeleteManyToManyUsesTypeValuesSQL(): void
$parent = new CustomTypeParent();
$parent->addMyFriend($friend);

$this->_em->getUnitOfWork()->registerManaged($parent, ['id' => 1], []);
$this->_em->getUnitOfWork()->registerManaged($friend, ['id' => 2], []);
$this->entityManager->getUnitOfWork()->registerManaged($parent, ['id' => 1], []);
$this->entityManager->getUnitOfWork()->registerManaged($friend, ['id' => 2], []);

$this->_persister->delete($parent);
$this->persister->delete($parent);

$deletes = $this->_em->getConnection()->getDeletes();
$deletes = $this->entityManager->getConnection()->getDeletes();

self::assertEquals([
'table' => 'customtype_parent_friends',
Expand Down

0 comments on commit ad5c72b

Please sign in to comment.