mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
Fix broken user:setting command unit test
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
cfc93d8b0a
commit
1c099c7f17
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