aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGit'Fellow <12234510+solracsf@users.noreply.github.com>2024-09-20 17:03:42 +0200
committerGitHub <noreply@github.com>2024-09-20 17:03:42 +0200
commitcb810fea1fbf27fddc8a9f7c90903aa500d2b37b (patch)
treec2ac4fc60e5d6baec333cdfb4f9e62f4a0a859b3 /tests
parentcc0b5212971ad379089852dc6ef2e4eb87635834 (diff)
downloadnextcloud-server-reworkShareExceptions.tar.gz
nextcloud-server-reworkShareExceptions.zip
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/Share20/ManagerTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php
index 875d083acc5..1dfe43410df 100644
--- a/tests/lib/Share20/ManagerTest.php
+++ b/tests/lib/Share20/ManagerTest.php
@@ -4154,7 +4154,7 @@ class ManagerTest extends \Test\TestCase {
public function testMoveShareUserNotRecipient(): void {
$this->expectException(\InvalidArgumentException::class);
- $this->expectExceptionMessage('Invalid recipient');
+ $this->expectExceptionMessage('Invalid share recipient');
$share = $this->manager->newShare();
$share->setShareType(IShare::TYPE_USER);
@@ -4181,7 +4181,7 @@ class ManagerTest extends \Test\TestCase {
public function testMoveShareGroupNotRecipient(): void {
$this->expectException(\InvalidArgumentException::class);
- $this->expectExceptionMessage('Invalid recipient');
+ $this->expectExceptionMessage('Invalid share recipient');
$share = $this->manager->newShare();
$share->setShareType(IShare::TYPE_GROUP);