summaryrefslogtreecommitdiff
path: root/tests/units/Model/SubtaskTest.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/SubtaskTest.php
parent7bfa38d93c7342fc5dc04722e7bc282f165b8cd4 (diff)
Change namespace to add Kanboard as prefix
Diffstat (limited to 'tests/units/Model/SubtaskTest.php')
-rw-r--r--tests/units/Model/SubtaskTest.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/units/Model/SubtaskTest.php b/tests/units/Model/SubtaskTest.php
index 5773893c..ba57ab01 100644
--- a/tests/units/Model/SubtaskTest.php
+++ b/tests/units/Model/SubtaskTest.php
@@ -2,20 +2,20 @@
require_once __DIR__.'/../Base.php';
-use Model\Task;
-use Model\TaskCreation;
-use Model\Subtask;
-use Model\Project;
-use Model\Category;
-use Model\User;
-use Core\Session;
-use Model\UserSession;
+use Kanboard\Model\Task;
+use Kanboard\Model\TaskCreation;
+use Kanboard\Model\Subtask;
+use Kanboard\Model\Project;
+use Kanboard\Model\Category;
+use Kanboard\Model\User;
+use Kanboard\Core\Session;
+use Kanboard\Model\UserSession;
class SubTaskTest extends Base
{
public function onSubtaskCreated($event)
{
- $this->assertInstanceOf('Event\SubtaskEvent', $event);
+ $this->assertInstanceOf('Kanboard\Event\SubtaskEvent', $event);
$data = $event->getAll();
$this->assertArrayHasKey('id', $data);
@@ -33,7 +33,7 @@ class SubTaskTest extends Base
public function onSubtaskUpdated($event)
{
- $this->assertInstanceOf('Event\SubtaskEvent', $event);
+ $this->assertInstanceOf('Kanboard\Event\SubtaskEvent', $event);
$data = $event->getAll();
$this->assertArrayHasKey('id', $data);
@@ -55,7 +55,7 @@ class SubTaskTest extends Base
public function onSubtaskDeleted($event)
{
- $this->assertInstanceOf('Event\SubtaskEvent', $event);
+ $this->assertInstanceOf('Kanboard\Event\SubtaskEvent', $event);
$data = $event->getAll();
$this->assertArrayHasKey('id', $data);