Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValdnet <47037905+Valdnet@users.noreply.github.com>2022-03-31 12:04:47 +0300
committerGitHub <noreply@github.com>2022-03-31 12:04:47 +0300
commit806a49aba5574ed44bb0f7715b4471ac62398f0d (patch)
tree4b0b77e6929e12e31a1181c9bed6d7e571420817 /apps/files_sharing
parent522d9c1d1f1043565377967e2a429742f912bad9 (diff)
Fix test
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
Diffstat (limited to 'apps/files_sharing')
-rw-r--r--apps/files_sharing/tests/Controller/ShareAPIControllerTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
index 8bea67dff05..04dc5c0318a 100644
--- a/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
+++ b/apps/files_sharing/tests/Controller/ShareAPIControllerTest.php
@@ -2881,7 +2881,7 @@ class ShareAPIControllerTest extends TestCase {
*/
public function testUpdateLinkShareSetInvalidCRUDPermissions2($permissions) {
$this->expectException(\OCP\AppFramework\OCS\OCSBadRequestException::class);
- $this->expectExceptionMessage('Share must have READ permission if UPDATE or DELETE permission is set.');
+ $this->expectExceptionMessage('Share must have READ permission if UPDATE or DELETE permission is set');
$this->testUpdateLinkShareSetCRUDPermissions($permissions);
}