diff options
author | Robin Appelman <robin@icewind.nl> | 2021-05-10 17:34:10 +0200 |
---|---|---|
committer | Robin Appelman <robin@icewind.nl> | 2021-05-19 17:08:20 +0200 |
commit | ed2396b045c7b10555d7f05df5f81d2d17a00caf (patch) | |
tree | a467de2d39cb89fb76b061246b92c7cf56940a82 /apps/files_external/tests/Service/UserStoragesServiceTest.php | |
parent | fd284f428dc15c0ebd4054fa5e4e9431d518bcb1 (diff) | |
download | nextcloud-server-ed2396b045c7b10555d7f05df5f81d2d17a00caf.tar.gz nextcloud-server-ed2396b045c7b10555d7f05df5f81d2d17a00caf.zip |
better cleanup of filecache when deleting an external storage
this way it can delete the cache entries even with per-user credentials
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps/files_external/tests/Service/UserStoragesServiceTest.php')
-rw-r--r-- | apps/files_external/tests/Service/UserStoragesServiceTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_external/tests/Service/UserStoragesServiceTest.php b/apps/files_external/tests/Service/UserStoragesServiceTest.php index c7bc660c538..e54fc6d515f 100644 --- a/apps/files_external/tests/Service/UserStoragesServiceTest.php +++ b/apps/files_external/tests/Service/UserStoragesServiceTest.php @@ -150,8 +150,8 @@ class UserStoragesServiceTest extends StoragesServiceTest { /** * @dataProvider deleteStorageDataProvider */ - public function testDeleteStorage($backendOptions, $rustyStorageId, $expectedCountAfterDeletion) { - parent::testDeleteStorage($backendOptions, $rustyStorageId, $expectedCountAfterDeletion); + public function testDeleteStorage($backendOptions, $rustyStorageId) { + parent::testDeleteStorage($backendOptions, $rustyStorageId); // hook called once for user (first one was during test creation) $this->assertHookCall( |