diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-07-30 09:49:09 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2018-07-30 09:49:09 +0300 |
commit | 26242e95213ce72ae9dcac75d706b70d8c9570bb (patch) | |
tree | 4d315bc043e2b046584814291c67969c718cdc2b /tests | |
parent | 365f4b28996b5a2ca4072f8096bc2e7a0c7791d7 (diff) |
Fix HTML body in mocked message
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Controller/MessagesControllerTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Controller/MessagesControllerTest.php b/tests/Controller/MessagesControllerTest.php index 2eaa06e35..36eac5779 100644 --- a/tests/Controller/MessagesControllerTest.php +++ b/tests/Controller/MessagesControllerTest.php @@ -119,6 +119,9 @@ class MessagesControllerTest extends TestCase { ->method('getMessage') ->with($this->equalTo($messageId)) ->will($this->returnValue($this->message)); + $this->message->expects($this->once()) + ->method('getHtmlBody') + ->willReturn(''); $this->timeFactory->method('getTime')->willReturn(1000); $expectedResponse = new HtmlResponse(''); |