summaryrefslogtreecommitdiff
path: root/tests/units/Model/TaskFileModelTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Model/TaskFileModelTest.php')
-rw-r--r--tests/units/Model/TaskFileModelTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/TaskFileModelTest.php b/tests/units/Model/TaskFileModelTest.php
index de12553f..3c30cc0b 100644
--- a/tests/units/Model/TaskFileModelTest.php
+++ b/tests/units/Model/TaskFileModelTest.php
@@ -58,7 +58,7 @@ class TaskFileModelTest extends Base
public function testCreationWithSessionOpen()
{
- $this->container['sessionStorage']->user = array('id' => 1);
+ $_SESSION['user'] = array('id' => 1);
$projectModel = new ProjectModel($this->container);
$fileModel = new TaskFileModel($this->container);