Fixing CS

This commit is contained in:
Jose Lorenzo Rodriguez 2013-10-12 00:58:14 +02:00
parent 8cdbafd312
commit 63b65e2f69

View file

@ -685,17 +685,17 @@ class DboSourceTest extends CakeTestCase {
/**
* 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);
}