summaryrefslogtreecommitdiff
path: root/tests/Unit/Mail/Transport/LogTransportTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Unit/Mail/Transport/LogTransportTest.php')
-rw-r--r--tests/Unit/Mail/Transport/LogTransportTest.php5
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')