diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-13 22:19:17 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-13 22:19:17 -0400 |
commit | 9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 (patch) | |
tree | c58789631d8f729dca8dbbf4108670e567dc25b4 /tests/units/Model/TaskModificationTest.php | |
parent | 7bfa38d93c7342fc5dc04722e7bc282f165b8cd4 (diff) |
Change namespace to add Kanboard as prefix
Diffstat (limited to 'tests/units/Model/TaskModificationTest.php')
-rw-r--r-- | tests/units/Model/TaskModificationTest.php | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/tests/units/Model/TaskModificationTest.php b/tests/units/Model/TaskModificationTest.php index f85f1c10..49b51f9b 100644 --- a/tests/units/Model/TaskModificationTest.php +++ b/tests/units/Model/TaskModificationTest.php @@ -2,19 +2,19 @@ require_once __DIR__.'/../Base.php'; -use Model\Task; -use Model\TaskCreation; -use Model\TaskModification; -use Model\TaskFinder; -use Model\TaskStatus; -use Model\Project; -use Model\ProjectPermission; +use Kanboard\Model\Task; +use Kanboard\Model\TaskCreation; +use Kanboard\Model\TaskModification; +use Kanboard\Model\TaskFinder; +use Kanboard\Model\TaskStatus; +use Kanboard\Model\Project; +use Kanboard\Model\ProjectPermission; class TaskModificationTest extends Base { public function onCreateUpdate($event) { - $this->assertInstanceOf('Event\TaskEvent', $event); + $this->assertInstanceOf('Kanboard\Event\TaskEvent', $event); $event_data = $event->getAll(); $this->assertNotEmpty($event_data); @@ -24,7 +24,7 @@ class TaskModificationTest extends Base public function onUpdate($event) { - $this->assertInstanceOf('Event\TaskEvent', $event); + $this->assertInstanceOf('Kanboard\Event\TaskEvent', $event); $event_data = $event->getAll(); $this->assertNotEmpty($event_data); @@ -34,7 +34,7 @@ class TaskModificationTest extends Base public function onAssigneeChange($event) { - $this->assertInstanceOf('Event\TaskEvent', $event); + $this->assertInstanceOf('Kanboard\Event\TaskEvent', $event); $event_data = $event->getAll(); $this->assertNotEmpty($event_data); |