Browse Source

Fix method call in test case.

ADmad 7 years ago
parent
commit
b86de6dc82
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Cache/Engine/FileEngineTest.php

+ 1 - 1
tests/TestCase/Cache/Engine/FileEngineTest.php

@@ -704,7 +704,7 @@ class FileEngineTest extends TestCase
         Cache::write('key', 'data', 'file_test');
         $this->assertFileExists(TMP . 'tests/key');
 
-        $result = Cache::clear(false, 'file_test');
+        $result = Cache::clear('file_test');
         $this->assertTrue($result);
         $this->assertFileNotExists(TMP . 'tests/key');