Skip to content

Commit

Permalink
Run test in separate process
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
greg0ire committed Apr 6, 2019
1 parent c0fadd3 commit 7f2b084
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Tests/ClientTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -621,6 +621,9 @@ public function testRestart()
$this->assertEquals([], $client->getCookieJar()->all(), '->restart() clears the cookies');
}

/**
* @runInSeparateProcess
*/
public function testInsulatedRequests()
{
$client = new TestClient();
Expand Down

0 comments on commit 7f2b084

Please sign in to comment.