From 9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 13 Oct 2015 22:19:17 -0400 Subject: Change namespace to add Kanboard as prefix --- .../Action/TaskDuplicateAnotherProjectTest.php | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) (limited to 'tests/units/Action/TaskDuplicateAnotherProjectTest.php') diff --git a/tests/units/Action/TaskDuplicateAnotherProjectTest.php b/tests/units/Action/TaskDuplicateAnotherProjectTest.php index 37eb4052..50cbad01 100644 --- a/tests/units/Action/TaskDuplicateAnotherProjectTest.php +++ b/tests/units/Action/TaskDuplicateAnotherProjectTest.php @@ -2,17 +2,18 @@ require_once __DIR__.'/../Base.php'; -use Event\GenericEvent; -use Model\Task; -use Model\TaskCreation; -use Model\TaskFinder; -use Model\Project; - -class TaskDuplicateAnotherProject extends Base +use Kanboard\Event\GenericEvent; +use Kanboard\Model\Task; +use Kanboard\Model\TaskCreation; +use Kanboard\Model\TaskFinder; +use Kanboard\Model\Project; +use Kanboard\Action\TaskDuplicateAnotherProject; + +class TaskDuplicateAnotherProjectTest extends Base { public function testBadProject() { - $action = new Action\TaskDuplicateAnotherProject($this->container, 3, Task::EVENT_MOVE_COLUMN); + $action = new TaskDuplicateAnotherProject($this->container, 3, Task::EVENT_MOVE_COLUMN); $action->setParam('column_id', 5); $event = array( @@ -27,7 +28,7 @@ class TaskDuplicateAnotherProject extends Base public function testBadColumn() { - $action = new Action\TaskDuplicateAnotherProject($this->container, 3, Task::EVENT_MOVE_COLUMN); + $action = new TaskDuplicateAnotherProject($this->container, 3, Task::EVENT_MOVE_COLUMN); $action->setParam('column_id', 5); $event = array( @@ -41,7 +42,7 @@ class TaskDuplicateAnotherProject extends Base public function testExecute() { - $action = new Action\TaskDuplicateAnotherProject($this->container, 1, Task::EVENT_MOVE_COLUMN); + $action = new TaskDuplicateAnotherProject($this->container, 1, Task::EVENT_MOVE_COLUMN); // We create a task in the first column $tc = new TaskCreation($this->container); -- cgit v1.2.3