diff options
Diffstat (limited to 'tests/units/Model/TaskDuplicationModelTest.php')
-rw-r--r-- | tests/units/Model/TaskDuplicationModelTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/units/Model/TaskDuplicationModelTest.php b/tests/units/Model/TaskDuplicationModelTest.php index e4121ff9..1295cd37 100644 --- a/tests/units/Model/TaskDuplicationModelTest.php +++ b/tests/units/Model/TaskDuplicationModelTest.php @@ -28,7 +28,7 @@ class TaskDuplicationModelTest extends Base $this->assertEquals(1, $task['project_id']); $this->assertEquals(0, $task['creator_id']); - $this->container['sessionStorage']->user = array('id' => 1); + $_SESSION['user'] = array('id' => 1); // We duplicate our task $this->assertEquals(2, $taskDuplicationModel->duplicate(1)); |