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 --- tests/units/Model/TaskStatusTest.php | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'tests/units/Model/TaskStatusTest.php') 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']); } -- cgit v1.2.3