From fa9edf3c7777fe7bd17e1dde0fd39cc90d6f01cb Mon Sep 17 00:00:00 2001 From: Ferdinand Thiessen Date: Mon, 14 Apr 2025 09:39:40 +0200 Subject: [PATCH] test: adjust broken tests Signed-off-by: Ferdinand Thiessen --- tests/lib/Share20/ManagerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/lib/Share20/ManagerTest.php b/tests/lib/Share20/ManagerTest.php index e69afda4ada..461bddf3db6 100644 --- a/tests/lib/Share20/ManagerTest.php +++ b/tests/lib/Share20/ManagerTest.php @@ -2273,7 +2273,7 @@ class ManagerTest extends \Test\TestCase { public function testPathCreateChecksContainsSharedMount() { $this->expectException(\InvalidArgumentException::class); - $this->expectExceptionMessage('You cannot share a folder that contains other shares'); + $this->expectExceptionMessage('Path contains files shared with you'); $path = $this->createMock(Folder::class); $path->method('getPath')->willReturn('path');