diff options
author | Robin Appelman <robin@icewind.nl> | 2021-04-27 15:43:34 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-04-27 20:29:51 +0200 |
commit | ed2d02d5f1000c76776c6e8dbe24fa787ffe6d0d (patch) | |
tree | ea8a4030a698abd0bfe7c797976d474972332345 /tests/lib/User | |
parent | 9de6efd14e4fd8bbf3c9cacde7524b205ca7e93e (diff) | |
download | nextcloud-server-ed2d02d5f1000c76776c6e8dbe24fa787ffe6d0d.tar.gz nextcloud-server-ed2d02d5f1000c76776c6e8dbe24fa787ffe6d0d.zip |
better cleanup of user files on user deletion
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'tests/lib/User')
-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') |