ensure that plain CakeLogInterface still works

This commit is contained in:
Rachman Chavik 2012-05-13 15:53:42 +07:00
parent 8e8763d69d
commit 595cad84b3
3 changed files with 11 additions and 4 deletions
lib/Cake/Test/Case/Log

View file

@ -64,6 +64,8 @@ class CakeLogTest extends CakeTestCase {
$this->assertTrue($result);
$this->assertEquals(CakeLog::configured(), array('libtest', 'plugintest'));
CakeLog::write(LOG_INFO, 'TestPluginLog is not a BaseLog descendant');
App::build();
CakePlugin::unload();
}