summaryrefslogtreecommitdiff
path: root/tests/units/Model/WebNotificationTest.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/WebNotificationTest.php
parent7bfa38d93c7342fc5dc04722e7bc282f165b8cd4 (diff)
Change namespace to add Kanboard as prefix
Diffstat (limited to 'tests/units/Model/WebNotificationTest.php')
-rw-r--r--tests/units/Model/WebNotificationTest.php22
1 files changed, 11 insertions, 11 deletions
diff --git a/tests/units/Model/WebNotificationTest.php b/tests/units/Model/WebNotificationTest.php
index fffeb475..8ed37692 100644
--- a/tests/units/Model/WebNotificationTest.php
+++ b/tests/units/Model/WebNotificationTest.php
@@ -2,16 +2,16 @@
require_once __DIR__.'/../Base.php';
-use Model\TaskFinder;
-use Model\TaskCreation;
-use Model\Subtask;
-use Model\Comment;
-use Model\User;
-use Model\File;
-use Model\Task;
-use Model\Project;
-use Model\WebNotification;
-use Subscriber\NotificationSubscriber;
+use Kanboard\Model\TaskFinder;
+use Kanboard\Model\TaskCreation;
+use Kanboard\Model\Subtask;
+use Kanboard\Model\Comment;
+use Kanboard\Model\User;
+use Kanboard\Model\File;
+use Kanboard\Model\Task;
+use Kanboard\Model\Project;
+use Kanboard\Model\WebNotification;
+use Kanboard\Subscriber\NotificationSubscriber;
class WebNotificationTest extends Base
{
@@ -41,7 +41,7 @@ class WebNotificationTest extends Base
$this->assertNotEmpty($comment);
$this->assertNotEmpty($file);
- foreach (Subscriber\NotificationSubscriber::getSubscribedEvents() as $event_name => $values) {
+ foreach (NotificationSubscriber::getSubscribedEvents() as $event_name => $values) {
$title = $wn->getTitleFromEvent($event_name, array(
'task' => $task,
'comment' => $comment,