We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bda14e commit 72b4fd9Copy full SHA for 72b4fd9
tests/Units/Service/DatabaseTest.php
@@ -47,6 +47,7 @@ public function testInterceptionErrorStartTransaction(): void
47
try {
48
DB::beginTransaction();
49
app(DatabaseServiceInterface::class)->transaction(static fn (): int => 42);
50
+ self::fail(__METHOD__);
51
} catch (TransactionStartException) {
52
DB::rollBack(0); // for success
53
$result = app(DatabaseServiceInterface::class)->transaction(static fn (): int => 42);
0 commit comments