diff options
author | Git'Fellow <12234510+solracsf@users.noreply.github.com> | 2024-09-20 17:03:42 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-09-20 17:03:42 +0200 |
commit | cb810fea1fbf27fddc8a9f7c90903aa500d2b37b (patch) | |
tree | c2ac4fc60e5d6baec333cdfb4f9e62f4a0a859b3 /tests | |
parent | cc0b5212971ad379089852dc6ef2e4eb87635834 (diff) | |
download | nextcloud-server-reworkShareExceptions.tar.gz nextcloud-server-reworkShareExceptions.zip |
fix: testsreworkShareExceptions
Signed-off-by: Git'Fellow <12234510+solracsf@users.noreply.github.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/lib/Share20/ManagerTest.php | 4 |
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); |