Browse Source

Improve test readability

Marc Würth 7 years ago
parent
commit
c5a2056ceb
1 changed files with 2 additions and 1 deletions
  1. 2 1
      tests/TestCase/Cache/SimpleCacheEngineTest.php

+ 2 - 1
tests/TestCase/Cache/SimpleCacheEngineTest.php

@@ -321,7 +321,8 @@ class SimpleCacheEngineTest extends TestCase
             'key' => 'a value',
             'key2' => 'other value',
         ];
-        $this->cache->setMultiple($data, 0);
+        $ttl = 0;
+        $this->cache->setMultiple($data, $ttl);
 
         sleep(1);
         $results = $this->cache->getMultiple(array_keys($data));