Commit b1e2d9ab authored by alexpott's avatar alexpott

Revert "Issue #3019706 by hchonov, jibran: Functional JS Tests are broken if...

Revert "Issue #3019706 by hchonov, jibran: Functional JS Tests are broken if XDEBUG_CONFIG is set as an env variable"

This reverts commit 14fa028c.
parent 3ca45d9f
......@@ -239,11 +239,6 @@ protected function initMink() {
]);
$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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment