Skip to content

Commit d2593e2

Browse files
committed
Remove unreachable fail() call flagged by PHPStan
1 parent 6aac2eb commit d2593e2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/e2e/Adapter/Scopes/GeneralTests.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -910,7 +910,6 @@ public function testTransactionStateAfterRetriesExhausted(): void
910910
$attempts++;
911911
throw new \RuntimeException('Persistent failure');
912912
});
913-
$this->fail('Expected RuntimeException was not thrown');
914913
} catch (\RuntimeException $e) {
915914
$this->assertEquals('Persistent failure', $e->getMessage());
916915
}

0 commit comments

Comments
 (0)