Skip to content

Commit 08d4661

Browse files
CarlSchwanAndyScherzinger
authored andcommitted
fix: Adapt tests
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
1 parent 6c19056 commit 08d4661

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

tests/lib/Share20/ManagerTest.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -986,8 +986,8 @@ public function testGeneralChecks($share, $exceptionMessage, $exception) {
986986
$thrown = null;
987987

988988
$this->userManager->method('userExists')->willReturnMap([
989-
['user0', true],
990-
['user1', true],
989+
['user0', [], true],
990+
['user1', [], true],
991991
]);
992992

993993
$this->groupManager->method('groupExists')->willReturnMap([
@@ -1030,8 +1030,8 @@ public function testGeneralCheckShareRoot() {
10301030
$thrown = null;
10311031

10321032
$this->userManager->method('userExists')->willReturnMap([
1033-
['user0', true],
1034-
['user1', true],
1033+
['user0', [], true],
1034+
['user1', [], true],
10351035
]);
10361036

10371037
$userFolder = $this->createMock(Folder::class);

0 commit comments

Comments
 (0)