diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-10-16 20:50:12 -0400 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-10-16 20:50:12 -0400 |
commit | f99a3c501fd6ed7b4914b8d6e855489c2ce5b219 (patch) | |
tree | 976276d6acfff78923e4549b0ef9ea94c5e2cb0d /tests/units/Model | |
parent | 9c9ed02cd7ebc5dbbc99bcaed6f80988ce8a9677 (diff) |
Make mail transports pluggable and move integrations to plugins
- Postmark: https://github.com/kanboard/plugin-postmark
- Mailgun: https://github.com/kanboard/plugin-mailgun
- Sendgrid: https://github.com/kanboard/plugin-sendgrid
Diffstat (limited to 'tests/units/Model')
-rw-r--r-- | tests/units/Model/EmailNotificationTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/units/Model/EmailNotificationTest.php b/tests/units/Model/EmailNotificationTest.php index afe8d196..342f0aa9 100644 --- a/tests/units/Model/EmailNotificationTest.php +++ b/tests/units/Model/EmailNotificationTest.php @@ -74,7 +74,7 @@ class EmailNotificationTest extends Base $this->assertTrue($u->update(array('id' => 1, 'email' => 'test@localhost'))); $this->container['emailClient'] = $this - ->getMockBuilder('\Kanboard\Core\EmailClient') + ->getMockBuilder('\Kanboard\Core\Mail\Client') ->setConstructorArgs(array($this->container)) ->setMethods(array('send')) ->getMock(); @@ -104,7 +104,7 @@ class EmailNotificationTest extends Base $this->assertEquals(1, $tc->create(array('title' => 'test', 'project_id' => 1))); $this->container['emailClient'] = $this - ->getMockBuilder('\Kanboard\Core\EmailClient') + ->getMockBuilder('\Kanboard\Core\Mail\Client') ->setConstructorArgs(array($this->container)) ->setMethods(array('send')) ->getMock(); |