Fix cookie settings in tests
This commit is contained in:
parent
5cd6ea0c44
commit
6b73026194
3 changed files with 3 additions and 2 deletions
|
@ -42,7 +42,6 @@ class LocaleManager
|
|||
{
|
||||
$session_factory = new \Aura\Session\SessionFactory();
|
||||
$session = $session_factory->newInstance($cookies);
|
||||
$session->setCookieParams(['httponly' => true]);
|
||||
$this->sessionSegment = $session->getSegment('Alltube\LocaleManager');
|
||||
$cookieLocale = $this->sessionSegment->get('locale');
|
||||
if (isset($cookieLocale)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue