diff options
| author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-25 07:05:03 +0000 | 
|---|---|---|
| committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-25 07:05:03 +0000 | 
| commit | b2af9ed47043ac43d33c9c19db4d29093e3ee600 (patch) | |
| tree | 17bd9d81fe094f5a9175ab425fafdc21d3ec3f9e /modules/gallery_unit_test/controllers | |
| parent | 52206148a8aaa25245b1f73dddaa24d199868400 (diff) | |
Modify the test controller to call tag_installer::install and uninstall
Created the first tag unit test
Diffstat (limited to 'modules/gallery_unit_test/controllers')
| -rw-r--r-- | modules/gallery_unit_test/controllers/test.php | 3 | 
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 203edcba..92985a26 100644 --- a/modules/gallery_unit_test/controllers/test.php +++ b/modules/gallery_unit_test/controllers/test.php @@ -60,16 +60,19 @@ class Test_Controller extends Controller {      // We probably don't want to uninstall and reinstall the core every time, but let's start off      // this way.  Uninstall modules first and core last.  Ignore errors during uninstall. +    // @todo make this more dynamic      try {        comment_installer::uninstall();        user_installer::uninstall();        core_installer::uninstall(); +      tag_installer::uninstall();      } catch (Exception $e) {      }      core_installer::install();      user_installer::install();      comment_installer::install(); +    tag_installer::install();      print new Unit_Test();    } | 
