diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-01-24 16:36:29 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-01-24 16:52:07 +0300 |
commit | 7942f00f94e236e9bbcf4ce01fa19e46c6de1d80 (patch) | |
tree | e4f53ca6c90a4db3c2df75ddf4fbd9a7c862c36e /tests | |
parent | 9f254d8a7fd5f64b1ca1169915ba7c5212dafd79 (diff) |
Show embedded messages as attachments
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Unit/Controller/MessagesControllerTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Unit/Controller/MessagesControllerTest.php b/tests/Unit/Controller/MessagesControllerTest.php index fee9d4c36..1178a03c4 100644 --- a/tests/Unit/Controller/MessagesControllerTest.php +++ b/tests/Unit/Controller/MessagesControllerTest.php @@ -235,7 +235,7 @@ class MessagesControllerTest extends TestCase { $this->attachment->expects($this->once()) ->method('getContents') ->will($this->returnValue($contents)); - $this->attachment->expects($this->once()) + $this->attachment->expects($this->any()) ->method('getName') ->will($this->returnValue($name)); $this->attachment->expects($this->once()) |