diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-27 12:32:28 +0100 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-10-27 13:28:40 +0100 |
commit | 18de950d8fcc29d5ff33a154dc14225a807225b9 (patch) | |
tree | 5886fdf7f8058783eb4b81fb84fb2b44b4ee34d2 /tests/Unit/Mail/Transport/LogTransportTest.php | |
parent | 360a27016184bce3039fdbbb45b8f7b6bf02da3a (diff) |
Mail log: Formatting
Diffstat (limited to 'tests/Unit/Mail/Transport/LogTransportTest.php')
-rw-r--r-- | tests/Unit/Mail/Transport/LogTransportTest.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/Unit/Mail/Transport/LogTransportTest.php b/tests/Unit/Mail/Transport/LogTransportTest.php index bf3ec5dc..bd51d30f 100644 --- a/tests/Unit/Mail/Transport/LogTransportTest.php +++ b/tests/Unit/Mail/Transport/LogTransportTest.php @@ -25,11 +25,8 @@ class LogTransportTest extends TestCase ->method('getSubject') ->willReturn('Some subject'); $message->expects($this->once()) - ->method('getHeaders') - ->willReturn('Head: er'); - $message->expects($this->once()) ->method('toString') - ->willReturn('Message body'); + ->willReturn("Head: er\n\nMessage body"); $logger->expects($this->once()) ->method('debug') |