From 33e9cdad15e74f2b9482a5e7c1564ee468172418 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Mon, 3 Nov 2008 02:05:59 +0000 Subject: Uninstall/reinstall core on every test run (for now). --- modules/gallery_unit_test/controllers/test.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/gallery_unit_test') 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(); -- cgit v1.2.3