1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-05 04:37:38 +02:00
This commit is contained in:
Jordi Boggiano
2013-03-28 11:35:27 +01:00
parent 434ef8bbf6
commit 3f8c37b23c
6 changed files with 13 additions and 13 deletions

View File

@@ -11,7 +11,6 @@
namespace Monolog\Handler;
use Monolog\Logger;
use Monolog\TestCase;
class NativeMailerHandlerTest extends TestCase
@@ -23,7 +22,7 @@ class NativeMailerHandlerTest extends TestCase
{
$mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', "receiver@example.org\r\nFrom: faked@attacker.org");
}
/**
* @expectedException InvalidArgumentException
*/
@@ -32,7 +31,7 @@ class NativeMailerHandlerTest extends TestCase
$mailer = new NativeMailerHandler('spammer@example.org', 'dear victim', 'receiver@example.org');
$mailer->addHeader("Content-Type: text/html\r\nFrom: faked@attacker.org");
}
/**
* @expectedException InvalidArgumentException
*/