summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorMarco Nassabain <marco.nassabain@hotmail.com>2021-03-06 22:32:57 +0100
committerSean Molenaar <SMillerDev@users.noreply.github.com>2021-04-08 22:31:21 +0200
commita754b437e08d6ee387a8d2ce9839cce78af17510 (patch)
treea877a9187ba8849b43e630b438e11f70652671f4 /tests
parent7f3c63a2a4acea929e70a4136fea5c51e832ec16 (diff)
✅ Update test to include localization
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
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));