From d6c1c1ea33de6386fabe7c9546bfae1c38d3b9e7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 28 May 2016 17:36:55 -0400 Subject: Improve notification classes and move interface to core --- tests/units/Notification/MailTest.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tests/units/Notification') 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); -- cgit v1.2.3