From 0573037f2cf3e8d94d3efd51588bca815053b1ff Mon Sep 17 00:00:00 2001 From: Jose Lorenzo Rodriguez Date: Fri, 6 May 2011 01:07:59 -0430 Subject: [PATCH] Migrating all View tests to the new plugin loader --- lib/Cake/Core/App.php | 1 - lib/Cake/tests/Case/View/ViewTest.php | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Cake/Core/App.php b/lib/Cake/Core/App.php index 70b0715b4f7..fb48d06e54f 100644 --- a/lib/Cake/Core/App.php +++ b/lib/Cake/Core/App.php @@ -305,7 +305,6 @@ public static function build($paths = array(), $reset = false) { } self::$__packages[$type] = (array)$new; } - CakePlugin::unload(); return $paths; } diff --git a/lib/Cake/tests/Case/View/ViewTest.php b/lib/Cake/tests/Case/View/ViewTest.php index 0e50b86fc34..14c783d0bbf 100644 --- a/lib/Cake/tests/Case/View/ViewTest.php +++ b/lib/Cake/tests/Case/View/ViewTest.php @@ -212,6 +212,7 @@ function setUp() { */ function tearDown() { parent::tearDown(); + CakePlugin::unload(); unset($this->View); unset($this->PostsController); unset($this->Controller);