From 7f2b0843d5045468225f9a9b27a0cb171ae81828 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Sat, 6 Apr 2019 18:22:13 +0200 Subject: [PATCH] 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. --- Tests/ClientTest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Tests/ClientTest.php b/Tests/ClientTest.php index ab6d1185..a21a9481 100644 --- a/Tests/ClientTest.php +++ b/Tests/ClientTest.php @@ -621,6 +621,9 @@ public function testRestart() $this->assertEquals([], $client->getCookieJar()->all(), '->restart() clears the cookies'); } + /** + * @runInSeparateProcess + */ public function testInsulatedRequests() { $client = new TestClient();