summaryrefslogtreecommitdiff
path: root/tests/units
diff options
context:
space:
mode:
authorFrederic Guillot <fred@kanboard.net>2016-05-28 17:36:55 -0400
committerFrederic Guillot <fred@kanboard.net>2016-05-28 17:36:55 -0400
commitd6c1c1ea33de6386fabe7c9546bfae1c38d3b9e7 (patch)
treeee4f0a0d830c7019061204a1d659ff00ce6c29f5 /tests/units
parent88ee691bb9c17bd6d2b93873ed789d2edc120b37 (diff)
Improve notification classes and move interface to core
Diffstat (limited to 'tests/units')
-rw-r--r--tests/units/Notification/MailTest.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/units/Notification/MailTest.php b/tests/units/Notification/MailTest.php
index 7dc6aaef..8d32b497 100644
--- a/tests/units/Notification/MailTest.php
+++ b/tests/units/Notification/MailTest.php
@@ -10,14 +10,14 @@ use Kanboard\Model\User;
use Kanboard\Model\TaskFile;
use Kanboard\Model\Project;
use Kanboard\Model\Task;
-use Kanboard\Notification\Mail;
+use Kanboard\Notification\MailNotification;
use Kanboard\Subscriber\NotificationSubscriber;
class MailTest extends Base
{
public function testGetMailContent()
{
- $en = new Mail($this->container);
+ $en = new MailNotification($this->container);
$p = new Project($this->container);
$tf = new TaskFinder($this->container);
$tc = new TaskCreation($this->container);
@@ -62,7 +62,7 @@ class MailTest extends Base
public function testSendWithEmailAddress()
{
- $en = new Mail($this->container);
+ $en = new MailNotification($this->container);
$p = new Project($this->container);
$tf = new TaskFinder($this->container);
$tc = new TaskCreation($this->container);
@@ -93,7 +93,7 @@ class MailTest extends Base
public function testSendWithoutEmailAddress()
{
- $en = new Mail($this->container);
+ $en = new MailNotification($this->container);
$p = new Project($this->container);
$tf = new TaskFinder($this->container);
$tc = new TaskCreation($this->container);