Skip to content

Commit

Permalink
Fixing CS
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Oct 11, 2013
1 parent 8cdbafd commit 63b65e2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/Cake/Test/Case/Model/Datasource/DboSourceTest.php
Expand Up @@ -685,17 +685,17 @@ public function testNameMethodCacheCollisions() {

/**
* Test that flushMethodCache works as expected
*
*
* @return void
*/
public function testFlushMethodCache() {
$this->testDb->cacheMethods = true;
$this->testDb->cacheMethod('name','some-key','stuff');
$this->testDb->cacheMethod('name', 'some-key', 'stuff');

Cache::write('method_cache', DboTestSource::$methodCache, '_cake_core_');

$this->testDb->flushMethodCache();
$result = $this->testDb->cacheMethod('name','some-key');
$result = $this->testDb->cacheMethod('name', 'some-key');
$this->assertNull($result);
}

Expand Down

0 comments on commit 63b65e2

Please sign in to comment.