From ccd177ada6823c27a6408427f19c238fd701c39e Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Wed, 6 Dec 2017 16:19:11 -0800 Subject: Store PHP sessions in the database --- tests/units/Model/ProjectFileTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/units/Model/ProjectFileTest.php') diff --git a/tests/units/Model/ProjectFileTest.php b/tests/units/Model/ProjectFileTest.php index 116dd3d2..dfecb5ec 100644 --- a/tests/units/Model/ProjectFileTest.php +++ b/tests/units/Model/ProjectFileTest.php @@ -52,7 +52,7 @@ class ProjectFileTest extends Base public function testCreationWithSessionOpen() { - $this->container['sessionStorage']->user = array('id' => 1); + $_SESSION['user'] = array('id' => 1); $projectModel = new ProjectModel($this->container); $fileModel = new ProjectFileModel($this->container); -- cgit v1.2.3