summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test
diff options
context:
space:
mode:
Diffstat (limited to 'modules/gallery_unit_test')
-rw-r--r--modules/gallery_unit_test/controllers/test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/controllers/test.php b/modules/gallery_unit_test/controllers/test.php
index 75ba6f35..e6c0ce3e 100644
--- a/modules/gallery_unit_test/controllers/test.php
+++ b/modules/gallery_unit_test/controllers/test.php
@@ -56,6 +56,9 @@ class Test_Controller extends Controller {
}
Kohana::config_set('unit_test.paths', $paths);
+ // We probably don't want to uninstall and reinstall the core every time, but let's start off
+ // this way.
+ core_installer::uninstall();
core_installer::install();
print new Unit_Test();