Skip to content

Commit

Permalink
Add comment for clearing entity manger
Browse files Browse the repository at this point in the history
  • Loading branch information
Allypost committed Dec 5, 2019
1 parent 08058f5 commit 3865e43
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Tests/Acceptance/DoctrineClientManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ public function testClientDeleteCascadesToAccessTokensAndRefreshTokens(): void
)
);

// The entity manager has to be cleared manually
// because it doesn't process deep integrity constraints
$em->clear();

/** @var $refreshToken RefreshToken */
Expand Down

0 comments on commit 3865e43

Please sign in to comment.