Skip to content
Snippets Groups Projects
Unverified Commit 37644986 authored by Christoph Wurst's avatar Christoph Wurst Committed by GitHub
Browse files

Merge pull request #4539 from nextcloud/fix/tests-use-deprecated-cache-factory-method

Switch to a non-deprecated cache factory method
parents d7a6d61d adbf858b
No related branches found
No related tags found
No related merge requests found
......@@ -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();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment