Browse Source

Fix deprecated config use in Xcache.

Mark Story 8 years ago
parent
commit
40a14be124
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/TestCase/Cache/Engine/XcacheEngineTest.php

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

@@ -75,7 +75,7 @@ class XcacheEngineTest extends TestCase
      */
     public function testConfig()
     {
-        $config = Cache::engine('xcache')->config();
+        $config = Cache::engine('xcache')->getConfig();
         $expecting = [
             'prefix' => 'cake_',
             'duration' => 3600,