Skip to content

Commit 98c0c61

Browse files
committed
clear unit of work to avoid conflict between tests
1 parent 790fc81 commit 98c0c61

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/Bridge/Doctrine/Persister/ObjectManagerPersisterTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ public function setUp(): void
7777
*/
7878
public function tearDown(): void
7979
{
80+
$this->entityManager->getUnitOfWork()->clear();
8081
$this->purger->purge();
8182
}
8283

0 commit comments

Comments
 (0)