aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/lib/Share20/ManagerTest.php2
1 files changed, 1 insertions, 1 deletions
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');