summaryrefslogtreecommitdiff
path: root/tests/units/Model/TaskCreationModelTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Model/TaskCreationModelTest.php')
-rw-r--r--tests/units/Model/TaskCreationModelTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/TaskCreationModelTest.php b/tests/units/Model/TaskCreationModelTest.php
index 7723bece..4b04ac3b 100644
--- a/tests/units/Model/TaskCreationModelTest.php
+++ b/tests/units/Model/TaskCreationModelTest.php
@@ -159,7 +159,7 @@ class TaskCreationModelTest extends Base
$taskCreationModel = new TaskCreationModel($this->container);
$taskFinderModel = new TaskFinderModel($this->container);
- $this->container['sessionStorage']->user = array('id' => 1);
+ $_SESSION['user'] = array('id' => 1);
$this->assertEquals(1, $projectModel->create(array('name' => 'test')));
$this->assertEquals(1, $taskCreationModel->create(array('project_id' => 1, 'title' => 'test')));