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

Commit 3baf1bd

Browse files
committed
Merge branch 'hotfix/message-tests' of https://github.com/Intiilapa/zf2 into hotfix/pr-396
25 parents c800904 + f52dcb8 + 126ccb2 + e7d6206 + e2d24ab + ec1abfc + 290ea90 + 9f4ca1b + edaa760 + c4c0c95 + d21f055 + 5b18029 + e6b97af + 010fb36 + 64c7b8d + 636523e + 4cc2cd6 + e34098a + 16367cd + 943c77f + 8226e5b + 0b47726 + 3cd8a03 + cc4782c + 4ee9781 commit 3baf1bd

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

test/MessageTest.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,15 +62,6 @@ public function testMessageToStringWorks()
6262
$message->setMetadata(array('Foo' => 'bar', 'One' => 'Two'));
6363
$message->setContent('This is my content');
6464
$expected = "Foo: bar\r\nOne: Two\r\n\r\nThis is my content";
65-
$this->assertEquals($expected, $message->__toString());
65+
$this->assertEquals($expected, $message->toString());
6666
}
67-
68-
public function testMessageThrowsExceptionOnFromString()
69-
{
70-
$message = new Message();
71-
72-
$this->setExpectedException('Zend\Stdlib\Exception\DomainException');
73-
$message->fromString('some string');
74-
}
75-
7667
}

0 commit comments

Comments
 (0)