summaryrefslogtreecommitdiffstats
path: root/tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php')
-rw-r--r--tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php b/tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php
index 34c326e72e1..bacd2b7bf6f 100644
--- a/tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php
+++ b/tests/lib/Security/RateLimiting/Backend/MemoryCacheTest.php
@@ -46,7 +46,7 @@ class MemoryCacheTest extends TestCase {
$this->cacheFactory
->expects($this->once())
- ->method('create')
+ ->method('createDistributed')
->with('OC\Security\RateLimiting\Backend\MemoryCache')
->willReturn($this->cache);