Skip to content

Commit

Permalink
Clear application plugins before running the first test.
Browse files Browse the repository at this point in the history
  • Loading branch information
sitedyno committed May 19, 2011
1 parent a7ec73b commit 4ccf5c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/Cake/Test/Case/Core/CakePluginTest.php
Expand Up @@ -38,6 +38,7 @@ public function tearDown() {
* @return void
*/
public function testLoadSingle() {
CakePlugin::unload();
CakePlugin::load('TestPlugin');
$expected = array('TestPlugin');
$this->assertEquals($expected, CakePlugin::loaded());
Expand Down

0 comments on commit 4ccf5c0

Please sign in to comment.