From 0e39cef0d91147cd9d1d9394fbf67b4f2f521935 Mon Sep 17 00:00:00 2001 From: Valdnet <47037905+Valdnet@users.noreply.github.com> Date: Thu, 15 Apr 2021 16:17:15 +0200 Subject: l10n: Unify spelling in test --- apps/files_sharing/tests/Controller/ShareAPIControllerTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php index 009dfe86a48..11eefc18f64 100644 --- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php +++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php @@ -3475,13 +3475,13 @@ class ShareAPIControllerTest extends TestCase { $this->shareManager->expects($this->once()) ->method('updateShare') ->with($share) - ->willThrowException(new GenericShareException('Can’t increase permissions of path/file', 'Can’t increase permissions of path/file', 404)); + ->willThrowException(new GenericShareException('Cannot increase permissions of path/file', 'Cannot increase permissions of path/file', 404)); try { $ocs->updateShare(42, 31); $this->fail(); } catch (OCSException $e) { - $this->assertEquals('Can’t increase permissions of path/file', $e->getMessage()); + $this->assertEquals('Cannot increase permissions of path/file', $e->getMessage()); } } -- cgit v1.2.3