Browse Source

Fixes the failing test due to cache config change.

The extra config() call pushes the expected method out by one in the greater sequence of things.
Walther Lalk 9 years ago
parent
commit
e8d639227f
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tests/TestCase/Shell/OrmCacheShellTest.php

+ 2 - 2
tests/TestCase/Shell/OrmCacheShellTest.php

@@ -104,7 +104,7 @@ class OrmCacheShellTest extends TestCase
      */
     public function testBuildNoArgs()
     {
-        $this->cache->expects($this->at(2))
+        $this->cache->expects($this->at(3))
             ->method('write')
             ->with('test_articles');
 
@@ -179,7 +179,7 @@ class OrmCacheShellTest extends TestCase
      */
     public function testClearNoArgs()
     {
-        $this->cache->expects($this->at(2))
+        $this->cache->expects($this->at(3))
             ->method('delete')
             ->with('test_articles');