Clear application plugins before running the first test.

This commit is contained in:
Heath Nail 2011-05-19 16:26:49 -04:00
parent a7ec73b523
commit 4ccf5c0885

View file

@ -38,6 +38,7 @@ class CakePluginTest extends CakeTestCase {
* @return void
*/
public function testLoadSingle() {
CakePlugin::unload();
CakePlugin::load('TestPlugin');
$expected = array('TestPlugin');
$this->assertEquals($expected, CakePlugin::loaded());