From e8d639227f0ffceaeace28443ee92c0b623b8745 Mon Sep 17 00:00:00 2001 From: Walther Lalk Date: Mon, 27 Jun 2016 08:45:05 +0200 Subject: [PATCH] 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. --- tests/TestCase/Shell/OrmCacheShellTest.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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');