summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorAlex Pott2018-12-18 17:50:38 (GMT)
committerAlex Pott2018-12-18 17:50:38 (GMT)
commitb1e2d9abdc535fea9ed3ec24d12393d65ee8cfe6 (patch)
tree1d2cf23303a4c9f61938b521f9b93d894e204de9 /core
parent3ca45d9ff7b1cb9c3a8dc51e826c00895e8171ba (diff)
Revert "Issue #3019706 by hchonov, jibran: Functional JS Tests are broken if XDEBUG_CONFIG is set as an env variable"
This reverts commit 14fa028c43918aeae4348b1cb98caac3afd83310.
Diffstat (limited to 'core')
-rw-r--r--core/tests/Drupal/Tests/BrowserTestBase.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/core/tests/Drupal/Tests/BrowserTestBase.php b/core/tests/Drupal/Tests/BrowserTestBase.php
index 64b0f89..5417edc 100644
--- a/core/tests/Drupal/Tests/BrowserTestBase.php
+++ b/core/tests/Drupal/Tests/BrowserTestBase.php
@@ -239,11 +239,6 @@ abstract class BrowserTestBase extends TestCase {
]);
$session = new Session($driver, $selectors_handler);
$cookies = $this->extractCookiesFromRequest(\Drupal::request());
- // If there are any cookies, then first start the session before setting
- // them.
- if ($cookies && !$session->isStarted()) {
- $session->start();
- }
foreach ($cookies as $cookie_name => $values) {
foreach ($values as $value) {
$session->setCookie($cookie_name, $value);