Skip to content

Commit 50bb957

Browse files
committed
Revert "Issue #3019706 by hchonov, jibran: Functional JS Tests are broken if XDEBUG_CONFIG is set as an env variable"
This reverts commit 14fa028c43918aeae4348b1cb98caac3afd83310.
1 parent f8a335d commit 50bb957

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

tests/Drupal/Tests/BrowserTestBase.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,6 @@ protected function initMink() {
239239
]);
240240
$session = new Session($driver, $selectors_handler);
241241
$cookies = $this->extractCookiesFromRequest(\Drupal::request());
242-
// If there are any cookies, then first start the session before setting
243-
// them.
244-
if ($cookies && !$session->isStarted()) {
245-
$session->start();
246-
}
247242
foreach ($cookies as $cookie_name => $values) {
248243
foreach ($values as $value) {
249244
$session->setCookie($cookie_name, $value);

0 commit comments

Comments
 (0)