Skip to content

Commit

Permalink
Correctly loading plugins for Log tests
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 9, 2011
1 parent c208e4e commit 0ef0707
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/tests/Case/Log/CakeLogTest.php
Expand Up @@ -50,6 +50,7 @@ function testImportingLoggers() {
'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'
Expand All @@ -64,6 +65,7 @@ function testImportingLoggers() {
$this->assertEqual(CakeLog::configured(), array('libtest', 'plugintest'));

App::build();
CakePlugin::unload();
}

/**
Expand Down

0 comments on commit 0ef0707

Please sign in to comment.