Skip to content

Commit 56ac08d

Browse files
authored
fix(tests): Share manager error message from #52076
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
1 parent 4c67fe8 commit 56ac08d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib/Share20/ManagerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2273,7 +2273,7 @@ public function testLinkCreateChecksReadOnly() {
22732273

22742274
public function testPathCreateChecksContainsSharedMount() {
22752275
$this->expectException(\InvalidArgumentException::class);
2276-
$this->expectExceptionMessage('Path contains files shared with you');
2276+
$this->expectExceptionMessage('You cannot share a folder that contains other shares');
22772277

22782278
$path = $this->createMock(Folder::class);
22792279
$path->method('getPath')->willReturn('path');

0 commit comments

Comments
 (0)