Migrating all View tests to the new plugin loader

This commit is contained in:
Jose Lorenzo Rodriguez 2011-05-06 01:07:59 -04:30
parent f18b9aae7b
commit 0573037f2c
2 changed files with 1 additions and 1 deletions

View file

@ -305,7 +305,6 @@ class App {
} }
self::$__packages[$type] = (array)$new; self::$__packages[$type] = (array)$new;
} }
CakePlugin::unload();
return $paths; return $paths;
} }

View file

@ -212,6 +212,7 @@ class ViewTest extends CakeTestCase {
*/ */
function tearDown() { function tearDown() {
parent::tearDown(); parent::tearDown();
CakePlugin::unload();
unset($this->View); unset($this->View);
unset($this->PostsController); unset($this->PostsController);
unset($this->Controller); unset($this->Controller);