aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/tests/Service/UserStoragesServiceTest.php
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2021-05-10 17:34:10 +0200
committerRobin Appelman <robin@icewind.nl>2021-05-19 17:08:20 +0200
commited2396b045c7b10555d7f05df5f81d2d17a00caf (patch)
treea467de2d39cb89fb76b061246b92c7cf56940a82 /apps/files_external/tests/Service/UserStoragesServiceTest.php
parentfd284f428dc15c0ebd4054fa5e4e9431d518bcb1 (diff)
downloadnextcloud-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.php4
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(