summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-11-03 02:05:59 +0000
committerBharat Mediratta <bharat@menalto.com>2008-11-03 02:05:59 +0000
commit33e9cdad15e74f2b9482a5e7c1564ee468172418 (patch)
treea6eada0e5b13360d499119446df66cf45f6f6dd2
parent019ea9cd35e732e5d49b4bc655e6b18bcbc7989e (diff)
Uninstall/reinstall core on every test run (for now).
-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();