From 20a2d9f9a8bc0f69b3ebef846a88869870e4e0c4 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Thu, 28 May 2009 20:59:23 -0700 Subject: Reset the cascading file path properly before reinstalling. --- modules/gallery_unit_test/controllers/gallery_unit_test.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/gallery_unit_test') diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php index d0760332..56220a19 100644 --- a/modules/gallery_unit_test/controllers/gallery_unit_test.php +++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php @@ -95,10 +95,14 @@ class Gallery_Unit_Test_Controller extends Controller { module::$var_cache = array(); $db->clear_cache(); + // Rest the cascading class path + Kohana::config_set("core", Kohana::config_load("core")); + // Install all modules // Force gallery and user to be installed first to resolve dependencies. gallery_installer::install(true); module::load_modules(); + module::install("user"); module::activate("user"); $modules = array(); -- cgit v1.2.3