Skip to content

Commit

Permalink
Fixes the failing test due to cache config change.
Browse files Browse the repository at this point in the history
The extra config() call pushes the expected method out by one in the greater sequence of things.
  • Loading branch information
dakota committed Jun 27, 2016
1 parent be4cebe commit e8d6392
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/TestCase/Shell/OrmCacheShellTest.php
Expand Up @@ -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');

Expand Down Expand Up @@ -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');

Expand Down

0 comments on commit e8d6392

Please sign in to comment.