From a754b437e08d6ee387a8d2ce9839cce78af17510 Mon Sep 17 00:00:00 2001 From: Marco Nassabain Date: Sat, 6 Mar 2021 22:32:57 +0100 Subject: =?UTF-8?q?=E2=9C=85=20Update=20test=20to=20include=20localization?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Marco Nassabain --- tests/Unit/Service/ShareServiceTest.php | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'tests') 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)); -- cgit v1.2.3