We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8a335d commit 50bb957Copy full SHA for 50bb957
tests/Drupal/Tests/BrowserTestBase.php
@@ -239,11 +239,6 @@ protected function initMink() {
239
]);
240
$session = new Session($driver, $selectors_handler);
241
$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
- }
247
foreach ($cookies as $cookie_name => $values) {
248
foreach ($values as $value) {
249
$session->setCookie($cookie_name, $value);
0 commit comments