mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
add test case
This commit is contained in:
parent
05167a6420
commit
a266d8bede
1 changed files with 11 additions and 0 deletions
|
@ -64,6 +64,17 @@ class CacheTest extends CakeTestCase {
|
|||
$this->assertTrue(isset($results['settings']));
|
||||
}
|
||||
|
||||
/**
|
||||
* testConfigInvalidEngine method
|
||||
*
|
||||
* @expectedException CacheException
|
||||
* @return void
|
||||
*/
|
||||
public function testConfigInvalidEngine() {
|
||||
$settings = array('engine' => 'Imaginary');
|
||||
Cache::config('imaginary', $settings);
|
||||
}
|
||||
|
||||
/**
|
||||
* Check that no fatal errors are issued doing normal things when Cache.disable is true.
|
||||
*
|
||||
|
|
Loading…
Reference in a new issue