mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Updating Cache tests
This commit is contained in:
parent
18b5b36b6f
commit
35dc82571a
1 changed files with 2 additions and 0 deletions
|
@ -92,6 +92,7 @@ class CacheTest extends CakeTestCase {
|
|||
'Lib' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'Lib' . DS),
|
||||
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)
|
||||
), true);
|
||||
CakePlugin::load('TestPlugin');
|
||||
|
||||
$settings = array('engine' => 'TestAppCache', 'path' => TMP, 'prefix' => 'cake_test_');
|
||||
$result = Cache::config('libEngine', $settings);
|
||||
|
@ -105,6 +106,7 @@ class CacheTest extends CakeTestCase {
|
|||
Cache::drop('pluginLibEngine');
|
||||
|
||||
App::build();
|
||||
CakePlugin::unload();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue