Browse Source

Merge pull request #36269 from nextcloud/bugfix/noid/fix-broken-unit-test

Fix broken user:setting command unit test
tags/v26.0.0beta1
Joas Schilling 1 year ago
parent
commit
20190534ee
No account linked to committer's email address
1 changed files with 4 additions and 1 deletions
  1. 4
    1
      tests/Core/Command/User/SettingTest.php

+ 4
- 1
tests/Core/Command/User/SettingTest.php View File

@@ -212,8 +212,11 @@ class SettingTest extends TestCase {

if ($user !== false) {
$this->userManager->expects($this->once())
->method('userExists')
->method('get')
->willReturn($user);
} else {
$this->userManager->expects($this->never())
->method('get');
}

$command = $this->getCommand();

Loading…
Cancel
Save