summaryrefslogtreecommitdiff
path: root/tests/units/Model/WebNotificationTest.php
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2015-10-03 17:21:29 -0400
committerFrederic Guillot <fred@kanboard.net>2015-10-03 17:21:29 -0400
commit260c8515c507b8c339fdbe1a10b0f13792eac09d (patch)
tree39483e9918e1589786144af79b367492f04e2281 /tests/units/Model/WebNotificationTest.php
parentd7c0fabcb79fd72993cd00fe00d49bc5656bc204 (diff)
Add more unit tests
Diffstat (limited to 'tests/units/Model/WebNotificationTest.php')
-rw-r--r--tests/units/Model/WebNotificationTest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/units/Model/WebNotificationTest.php b/tests/units/Model/WebNotificationTest.php
index 0b9dcb17..fffeb475 100644
--- a/tests/units/Model/WebNotificationTest.php
+++ b/tests/units/Model/WebNotificationTest.php
@@ -52,6 +52,9 @@ class WebNotificationTest extends Base
$this->assertNotEmpty($title);
}
+
+ $this->assertNotEmpty($wn->getTitleFromEvent(Task::EVENT_OVERDUE, array('tasks' => array(array('id' => 1)))));
+ $this->assertNotEmpty($wn->getTitleFromEvent('unkown', array()));
}
public function testHasNotification()