diff options
author | Robin Appelman <robin@icewind.nl> | 2021-04-27 16:43:34 +0300 |
---|---|---|
committer | Arthur Schiwon <blizzz@arthur-schiwon.de> | 2021-08-12 19:16:51 +0300 |
commit | ca3a6251d249a324c87903b01240a5001de5105b (patch) | |
tree | 9f5ceb2fe458ab0d451e90ccd8882133c1b994aa /tests | |
parent | d213591b4d8f04b7880a98e5364b2b1ac8e69994 (diff) |
better cleanup of user files on user deletion
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests')
-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') |