mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-07-11 09:43:51 -04:00
Reset the cascading file path properly before reinstalling.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user