minor #30923 [BrowserKit vs HttpFoundation][TestSuite]Run test in separate process (greg0ire)
This PR was merged into the 3.4 branch.
Discussion
----------
[BrowserKit vs HttpFoundation][TestSuite]Run test in separate process
| Q | A
| ------------- | ---
| Branch? | 3.4
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT
| Doc PR | n/a
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.
Commits
-------
6d51a04b11
Run test in separate process
This commit is contained in:
commit
adb15a03d7
@ -621,6 +621,9 @@ class ClientTest extends TestCase
|
||||
$this->assertEquals([], $client->getCookieJar()->all(), '->restart() clears the cookies');
|
||||
}
|
||||
|
||||
/**
|
||||
* @runInSeparateProcess
|
||||
*/
|
||||
public function testInsulatedRequests()
|
||||
{
|
||||
$client = new TestClient();
|
||||
|
Reference in New Issue
Block a user