|
|
@@ -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);
|
|
|
}
|
|
|
|