diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-02-17 16:43:25 +0300 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2021-02-17 16:43:25 +0300 |
commit | adbf858b920debaad5f432a94bd7b9e67d70b260 (patch) | |
tree | 737353968ff608d9a7bc5dd40459005fc029656e /tests/Integration | |
parent | d7a6d61d49283754684c0aab3b3ac651ed4b608e (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.php | 2 |
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(); } |