diff options
Diffstat (limited to 'tests/units/ActionTaskAssignColorUserTest.php')
-rw-r--r-- | tests/units/ActionTaskAssignColorUserTest.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/tests/units/ActionTaskAssignColorUserTest.php b/tests/units/ActionTaskAssignColorUserTest.php index b79c96e6..d41a5ef4 100644 --- a/tests/units/ActionTaskAssignColorUserTest.php +++ b/tests/units/ActionTaskAssignColorUserTest.php @@ -3,6 +3,7 @@ require_once __DIR__.'/Base.php'; use Model\Task; +use Model\TaskCreation; use Model\TaskFinder; use Model\Project; @@ -29,11 +30,11 @@ class ActionTaskAssignColorUser extends Base $action->setParam('color_id', 'blue'); // We create a task in the first column - $t = new Task($this->container); + $tc = new TaskCreation($this->container); $tf = new TaskFinder($this->container); $p = new Project($this->container); $this->assertEquals(1, $p->create(array('name' => 'test'))); - $this->assertEquals(1, $t->create(array('title' => 'test', 'project_id' => 1, 'column_id' => 1, 'color_id' => 'green'))); + $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1, 'column_id' => 1, 'color_id' => 'green'))); // We change the assignee $event = array( |