8000 Run test in separate process · symfony/symfony@6d51a04 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6d51a04

Browse files
committed
Run test in separate process
This test calls code that defines some environment variables, which in turn trigger the registration of a the deprecation error handler, which causes unexpected issues when testing other components.
1 parent 98f26cb commit 6d51a04

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Symfony/Component/BrowserKit/Tests/ClientTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -621,6 +621,9 @@ public function testRestart()
621621
$this->assertEquals([], $client->getCookieJar()->all(), '->restart() clears the cookies');
622622
}
623623

624+
/**
625+
* @runInSeparateProcess
626+
*/
624627
public function testInsulatedRequests()
625628
{
626629
$client = new TestClient();

0 commit comments

Comments
 (0)
0