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

Commit

Permalink
Merge branch 'hotfix/message-tests' of https://github.com/Intiilapa/zf2
Browse files Browse the repository at this point in the history
… into hotfix/pr-396
  • Loading branch information
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions test/MessageTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,6 @@ public function testMessageToStringWorks()
$message->setMetadata(array('Foo' => 'bar', 'One' => 'Two'));
$message->setContent('This is my content');
$expected = "Foo: bar\r\nOne: Two\r\n\r\nThis is my content";
$this->assertEquals($expected, $message->__toString());
$this->assertEquals($expected, $message->toString());
}

public function testMessageThrowsExceptionOnFromString()
{
$message = new Message();

$this->setExpectedException('Zend\Stdlib\Exception\DomainException');
$message->fromString('some string');
}

}

0 comments on commit 3baf1bd

Please sign in to comment.