Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit adb15a0

Browse filesBrowse files
committed
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 ------- 6d51a04 Run test in separate process
2 parents 98f26cb + 6d51a04 commit adb15a0
Copy full SHA for adb15a0

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

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

Copy file name to clipboardExpand all lines: src/Symfony/Component/BrowserKit/Tests/ClientTest.php
+3Lines 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)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.