summaryrefslogtreecommitdiff
path: root/tests/units/Action/TaskAssignCurrentUserTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/units/Action/TaskAssignCurrentUserTest.php')
-rw-r--r--tests/units/Action/TaskAssignCurrentUserTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Action/TaskAssignCurrentUserTest.php b/tests/units/Action/TaskAssignCurrentUserTest.php
index 5569a191..a06b204b 100644
--- a/tests/units/Action/TaskAssignCurrentUserTest.php
+++ b/tests/units/Action/TaskAssignCurrentUserTest.php
@@ -13,7 +13,7 @@ class TaskAssignCurrentUserTest extends Base
{
public function testChangeUser()
{
- $this->container['sessionStorage']->user = array('id' => 1);
+ $_SESSION['user'] = array('id' => 1);
$projectModel = new ProjectModel($this->container);
$taskCreationModel = new TaskCreationModel($this->container);