mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Fixing CS
This commit is contained in:
parent
8cdbafd312
commit
63b65e2f69
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue