Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-17 16:43:25 +0300
committerChristoph Wurst <christoph@winzerhof-wurst.at>2021-02-17 16:43:25 +0300
commitadbf858b920debaad5f432a94bd7b9e67d70b260 (patch)
tree737353968ff608d9a7bc5dd40459005fc029656e /tests/Integration
parentd7a6d61d49283754684c0aab3b3ac651ed4b608e (diff)
Switch to a non-deprecated cache factory method
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'tests/Integration')
-rw-r--r--tests/Integration/Service/AvatarServiceIntegrationTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/Integration/Service/AvatarServiceIntegrationTest.php b/tests/Integration/Service/AvatarServiceIntegrationTest.php
index d11aff224..8035e41ee 100644
--- a/tests/Integration/Service/AvatarServiceIntegrationTest.php
+++ b/tests/Integration/Service/AvatarServiceIntegrationTest.php
@@ -39,7 +39,7 @@ class AvatarServiceIntegrationTest extends TestCase {
/* @var $cacheFactory ICacheFactory */
$cacheFactory = OC::$server->query(ICacheFactory::class);
/* @var $cache ICache */
- $cache = $cacheFactory->create('mail.avatars');
+ $cache = $cacheFactory->createDistributed('mail.avatars');
$cache->clear();
}