Skip to content

Commit 9b68a98

Browse files
committed
Fix flaky AppFactoryTest by isolating testDetermineResponseFactoryThrowsRuntimeException
1 parent eff557c commit 9b68a98

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

tests/Factory/AppFactoryTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,7 @@ public function testDetermineResponseFactoryThrowsRuntimeExceptionIfDecoratedNot
113113
/**
114114
* @runInSeparateProcess - Psr17FactoryProvider::setFactories breaks other tests
115115
*/
116+
#[\PHPUnit\Framework\Attributes\RunInSeparateProcess]
116117
public function testDetermineResponseFactoryThrowsRuntimeException()
117118
{
118119
$this->expectException(RuntimeException::class);

0 commit comments

Comments
 (0)