From adbf858b920debaad5f432a94bd7b9e67d70b260 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 17 Feb 2021 14:43:25 +0100 Subject: Switch to a non-deprecated cache factory method Signed-off-by: Christoph Wurst --- tests/Integration/Service/AvatarServiceIntegrationTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Integration') 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(); } -- cgit v1.2.3