mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #36269 from nextcloud/bugfix/noid/fix-broken-unit-test
Fix broken user:setting command unit test
This commit is contained in:
commit
20190534ee
1 changed files with 4 additions and 1 deletions
|
|
@ -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…
Reference in a new issue