Skip to content

Commit

Permalink
Migrating all View tests to the new plugin loader
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed May 6, 2011
1 parent f18b9aa commit 0573037
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion lib/Cake/Core/App.php
Expand Up @@ -305,7 +305,6 @@ public static function build($paths = array(), $reset = false) {
}
self::$__packages[$type] = (array)$new;
}
CakePlugin::unload();
return $paths;
}

Expand Down
1 change: 1 addition & 0 deletions lib/Cake/tests/Case/View/ViewTest.php
Expand Up @@ -212,6 +212,7 @@ function setUp() {
*/
function tearDown() {
parent::tearDown();
CakePlugin::unload();
unset($this->View);
unset($this->PostsController);
unset($this->Controller);
Expand Down

0 comments on commit 0573037

Please sign in to comment.