Skip to content

Commit 8ed6c22

Browse files
authored
Merge pull request #11661 from doctrine/2.19.x
Merge 2.19.x up into 2.20.x
2 parents 39d2136 + ff612b9 commit 8ed6c22

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Tests/ORM/EntityManagerTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -399,7 +399,7 @@ public function rollBack(): bool
399399
});
400400

401401
try {
402-
$entityManager->transactional(static function (): void {
402+
$entityManager->$methodName(static function (): void {
403403
throw new Exception('Original exception');
404404
});
405405
self::fail('Exception expected');

0 commit comments

Comments
 (0)