We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9f94745 commit 42601c0Copy full SHA for 42601c0
tests/specs/test-mailer.http.class.php
@@ -176,4 +176,12 @@ function test_get_attachments() {
176
$this->assertTrue($attachments[0]['name'] === basename($temp));
177
$this->assertTrue($attachments[0]['data'] === base64_encode('TEST'));
178
}
179
+
180
+ function test_isMail() {
181
+ // test if isMail sets correct mailer
182
+ $this->mailer->Mailer = 'abc';
183
+ $this->assertTrue($this->mailer->Mailer === 'abc');
184
+ $this->mailer->isMail();
185
+ $this->assertTrue($this->mailer->Mailer === 'sparkpost');
186
+ }
187
0 commit comments