Fixing CS

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

View file

@ -690,12 +690,12 @@ class DboSourceTest extends CakeTestCase {
*/ */
public function testFlushMethodCache() { public function testFlushMethodCache() {
$this->testDb->cacheMethods = true; $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_'); Cache::write('method_cache', DboTestSource::$methodCache, '_cake_core_');
$this->testDb->flushMethodCache(); $this->testDb->flushMethodCache();
$result = $this->testDb->cacheMethod('name','some-key'); $result = $this->testDb->cacheMethod('name', 'some-key');
$this->assertNull($result); $this->assertNull($result);
} }