Fix redirect test
Problem/Motivation
The pipeline https://git.drupalcode.org/project/eca/-/jobs/1153493 failed with this error:
1) Drupal\Tests\eca_content\Kernel\ContentExecutionChainTest::testRedirectAction
Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: Session has not been set.
/builds/project/eca/vendor/symfony/http-foundation/Request.php:729
/builds/project/eca/web/core/modules/user/src/Authentication/Provider/Cookie.php:127
/builds/project/eca/web/core/lib/Drupal/Component/EventDispatcher/ContainerAwareEventDispatcher.php:111
/builds/project/eca/modules/content/tests/src/Kernel/ContentExecutionChainTest.php:605
/builds/project/eca/vendor/phpunit/phpunit/src/Framework/TestResult.php:729
This is new and must be due to some upstream changes, either in Drupal core or Symfony. I suspect it's Symfony.
If tried fixing this by calling
<?php
\Drupal::service('session')->start();
?>
at the beginning of that test, with no luck.
Edited by drupalbot