test: adjust broken tests

Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Ferdinand Thiessen
2025-04-14 09:39:40 +02:00
parent 483305c9e4
commit fa9edf3c77

View File

@@ -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');