mirror of
https://github.com/nextcloud/server.git
synced 2026-03-04 18:28:08 +01:00
test: adjust broken tests
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user