summaryrefslogtreecommitdiff
path: root/tests/units/Model/TaskStatusTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-13 22:19:17 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-13 22:19:17 -0400
commit9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 (patch)
treec58789631d8f729dca8dbbf4108670e567dc25b4 /tests/units/Model/TaskStatusTest.php
parent7bfa38d93c7342fc5dc04722e7bc282f165b8cd4 (diff)
Change namespace to add Kanboard as prefix
Diffstat (limited to 'tests/units/Model/TaskStatusTest.php')
-rw-r--r--tests/units/Model/TaskStatusTest.php18
1 files changed, 9 insertions, 9 deletions
diff --git a/tests/units/Model/TaskStatusTest.php b/tests/units/Model/TaskStatusTest.php
index e5172c4d..de08ffb3 100644
--- a/tests/units/Model/TaskStatusTest.php
+++ b/tests/units/Model/TaskStatusTest.php
@@ -2,13 +2,13 @@
require_once __DIR__.'/../Base.php';
-use Model\Subtask;
-use Model\Task;
-use Model\TaskCreation;
-use Model\TaskFinder;
-use Model\TaskStatus;
-use Model\Project;
-use Model\ProjectPermission;
+use Kanboard\Model\Subtask;
+use Kanboard\Model\Task;
+use Kanboard\Model\TaskCreation;
+use Kanboard\Model\TaskFinder;
+use Kanboard\Model\TaskStatus;
+use Kanboard\Model\Project;
+use Kanboard\Model\ProjectPermission;
class TaskStatusTest extends Base
{
@@ -64,14 +64,14 @@ class TaskStatusTest extends Base
public function onTaskOpen($event)
{
- $this->assertInstanceOf('Event\TaskEvent', $event);
+ $this->assertInstanceOf('Kanboard\Event\TaskEvent', $event);
$this->assertArrayHasKey('task_id', $event);
$this->assertNotEmpty($event['task_id']);
}
public function onTaskClose($event)
{
- $this->assertInstanceOf('Event\TaskEvent', $event);
+ $this->assertInstanceOf('Kanboard\Event\TaskEvent', $event);
$this->assertArrayHasKey('task_id', $event);
$this->assertNotEmpty($event['task_id']);
}