Use secure session cookies (fixes #321)

This commit is contained in:
Pierre Rudloff 2020-10-21 23:04:29 +02:00
parent de8c5e5dc7
commit 342b8c4a42
6 changed files with 23 additions and 8 deletions

View file

@ -68,7 +68,7 @@ abstract class ControllerTest extends BaseTest
$this->request = Request::createFromEnvironment(Environment::mock());
$this->response = new Response();
$this->container['config'] = Config::fromFile($this->getConfigFile());
$this->container['session'] = SessionFactory::create();
$this->container['session'] = SessionFactory::create($this->container);
$this->container['locale'] = LocaleManagerFactory::create($this->container);
$this->container['view'] = ViewFactory::create($this->container, $this->request);
$this->container['logger'] = new NullLogger();