diff --git a/tests/TestCase/Shell/OrmCacheShellTest.php b/tests/TestCase/Shell/OrmCacheShellTest.php index 4eeeea9766e..0d43318e71b 100644 --- a/tests/TestCase/Shell/OrmCacheShellTest.php +++ b/tests/TestCase/Shell/OrmCacheShellTest.php @@ -104,7 +104,7 @@ public function testBuildEnablesMetadataCache() */ public function testBuildNoArgs() { - $this->cache->expects($this->at(2)) + $this->cache->expects($this->at(3)) ->method('write') ->with('test_articles'); @@ -179,7 +179,7 @@ public function testClearInvalidConnection() */ public function testClearNoArgs() { - $this->cache->expects($this->at(2)) + $this->cache->expects($this->at(3)) ->method('delete') ->with('test_articles');