Correctly loading plugins for Log tests

This commit is contained in:
Jose Lorenzo Rodriguez 2011-05-09 00:31:38 -04:30
parent c208e4ed30
commit 0ef0707575

View file

@ -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();
}
/**