mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Fix build, I'm a dork.
This commit is contained in:
parent
166e03e7de
commit
4b292b139e
2 changed files with 3 additions and 3 deletions
|
@ -387,7 +387,7 @@ class Cache {
|
|||
$settings = self::settings($config);
|
||||
|
||||
if (empty($settings)) {
|
||||
return null;
|
||||
return false;
|
||||
}
|
||||
if (!self::isInitialized($config)) {
|
||||
return false;
|
||||
|
|
|
@ -135,8 +135,8 @@ class CacheTest extends CakeTestCase {
|
|||
public function testReadNonExistingConfig() {
|
||||
$this->assertFalse(Cache::read('key', 'totally fake'));
|
||||
$this->assertFalse(Cache::write('key', 'value', 'totally fake'));
|
||||
$this->assertFalse(Cache::increment('key', 'value', 'totally fake'));
|
||||
$this->assertFalse(Cache::decrement('key', 'value', 'totally fake'));
|
||||
$this->assertFalse(Cache::increment('key', 1, 'totally fake'));
|
||||
$this->assertFalse(Cache::decrement('key', 1, 'totally fake'));
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue