diff options
author | Frederic Guillot <fred@kanboard.net> | 2016-05-28 17:36:55 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2016-05-28 17:36:55 -0400 |
commit | d6c1c1ea33de6386fabe7c9546bfae1c38d3b9e7 (patch) | |
tree | ee4f0a0d830c7019061204a1d659ff00ce6c29f5 /tests | |
parent | 88ee691bb9c17bd6d2b93873ed789d2edc120b37 (diff) |
Improve notification classes and move interface to core
Diffstat (limited to 'tests')
-rw-r--r-- | tests/units/Notification/MailTest.php | 8 |
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); |