diff options
Diffstat (limited to 'tests/lib/User/UserTest.php')
-rw-r--r-- | tests/lib/User/UserTest.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/lib/User/UserTest.php b/tests/lib/User/UserTest.php index 3a9c7766e3c..629a5632d61 100644 --- a/tests/lib/User/UserTest.php +++ b/tests/lib/User/UserTest.php @@ -521,6 +521,9 @@ class UserTest extends TestCase { $commentsManager = $this->createMock(ICommentsManager::class); $notificationManager = $this->createMock(INotificationManager::class); + $config->method('getSystemValue') + ->willReturnArgument(1); + if ($result) { $config->expects($this->once()) ->method('deleteAllUserValues') |