mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Correctly loading plugins for Log tests
This commit is contained in:
parent
c208e4ed30
commit
0ef0707575
1 changed files with 2 additions and 0 deletions
|
@ -50,6 +50,7 @@ class CakeLogTest extends CakeTestCase {
|
|||
'libs' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'Lib' . DS),
|
||||
'plugins' => array(LIBS . 'tests' . DS . 'test_app' . DS . 'plugins' . DS)
|
||||
), true);
|
||||
CakePlugin::load('TestPlugin');
|
||||
|
||||
$result = CakeLog::config('libtest', array(
|
||||
'engine' => 'TestAppLog'
|
||||
|
@ -64,6 +65,7 @@ class CakeLogTest extends CakeTestCase {
|
|||
$this->assertEqual(CakeLog::configured(), array('libtest', 'plugintest'));
|
||||
|
||||
App::build();
|
||||
CakePlugin::unload();
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue