diff options
Diffstat (limited to 'modules/gallery_unit_test')
-rw-r--r-- | modules/gallery_unit_test/controllers/gallery_unit_test.php | 4 |
1 files changed, 4 insertions, 0 deletions
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(); |