diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2021-06-02 17:02:00 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-02 17:02:00 +0200 |
commit | d0cf20cc51c6f7d119d21d3ea3ed81b9b52f2c9d (patch) | |
tree | 09f3e75be13540a37771d5f4aad055c24019cc74 /tests | |
parent | ac4ff6c9e3bbbcf394b634a20374e0f20bef9744 (diff) | |
parent | ed2d02d5f1000c76776c6e8dbe24fa787ffe6d0d (diff) | |
download | nextcloud-server-d0cf20cc51c6f7d119d21d3ea3ed81b9b52f2c9d.tar.gz nextcloud-server-d0cf20cc51c6f7d119d21d3ea3ed81b9b52f2c9d.zip |
Merge pull request #26792 from nextcloud/user-delete-cleanup-files
better cleanup of user files on user deletion
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') |