Skip to content
This repository was archived by the owner on Jan 30, 2020. It is now read-only.

Commit d787bf7

Browse files
committed
Merge branch 'hotfix/174'
Close #174 Fixes #173
2 parents 0e65a93 + ba78ce0 commit d787bf7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/Header/SenderTest.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,9 @@ public function validHeaderLinesProvider()
247247
public function testFromStringWithInvalidInput($headerString, $expectedException, $expectedMessagePart = '')
248248
{
249249
$this->expectException($expectedException);
250-
$this->expectExceptionMessage($expectedMessagePart);
250+
if ($expectedMessagePart) {
251+
$this->expectExceptionMessage($expectedMessagePart);
252+
}
251253

252254
Header\Sender::fromString($headerString);
253255
}

0 commit comments

Comments
 (0)