diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/Core/Command/User/SettingTest.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/Core/Command/User/SettingTest.php b/tests/Core/Command/User/SettingTest.php index 768a79a746e..964a707bf38 100644 --- a/tests/Core/Command/User/SettingTest.php +++ b/tests/Core/Command/User/SettingTest.php @@ -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(); |