summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/Unit/Service/ShareServiceTest.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/Unit/Service/ShareServiceTest.php b/tests/Unit/Service/ShareServiceTest.php
index 7c6e068f5..d9e836a18 100644
--- a/tests/Unit/Service/ShareServiceTest.php
+++ b/tests/Unit/Service/ShareServiceTest.php
@@ -218,6 +218,11 @@ class ShareServiceTest extends TestCase
->with($this->recipient, $feedUrl)
->will($this->returnValue(null));
+ $this->l->expects($this->once())
+ ->method('t')
+ ->with('Shared with me')
+ ->will($this->returnValue('Shared with me'));
+
$this->feedService->expects($this->once())
->method('insert')
->will($this->returnValue($feed));