Skip to content

Commit

Permalink
Merge pull request #337 from owncloud/unit-tests-core-issue-37358
Browse files Browse the repository at this point in the history
[Tests-Only] Fix unit tests related to core issue 37358 and core PR 37103
  • Loading branch information
phil-davis authored May 7, 2020
2 parents 5b88f0f + b46a7c1 commit b391d1d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/unit/Dav/GroupMembershipCollectionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ public function setUp(): void {
$this->nodeUser->method('getUID')->willReturn(self::NODE_USER);
$this->userManager->method('get')->will(
$this->returnValueMap([
[self::NODE_USER, $this->nodeUser],
[\strtoupper(self::NODE_USER), $this->nodeUser],
[self::CURRENT_USER, $this->currentUser],
[self::NODE_USER, false, $this->nodeUser],
[\strtoupper(self::NODE_USER), false, $this->nodeUser],
[self::CURRENT_USER, false, $this->currentUser],
]));

$this->config = $this->createMock(IConfig::class);
Expand Down

0 comments on commit b391d1d

Please sign in to comment.