summaryrefslogtreecommitdiff
path: root/modules/gallery_unit_test
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-11-08 01:56:59 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-11-08 01:56:59 +0000
commitd0251553146256bfa03ee63d77fcc90582a1289d (patch)
treeabf93872453f468f8eeff11c42a63d87c1136e23 /modules/gallery_unit_test
parent57683d5b70be2460a767d1385253d787229214e2 (diff)
The start of an authentication module. This provides the installation and a basic install test. There is no interface at the moment to do authentication. It is dependent on the install of the user module.
Diffstat (limited to 'modules/gallery_unit_test')
-rw-r--r--modules/gallery_unit_test/controllers/test.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/controllers/test.php b/modules/gallery_unit_test/controllers/test.php
index 543d3183..0761dc12 100644
--- a/modules/gallery_unit_test/controllers/test.php
+++ b/modules/gallery_unit_test/controllers/test.php
@@ -61,6 +61,7 @@ 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.
try {
+ auth_installer::uninstall();
user_installer::uninstall();
core_installer::uninstall();
} catch (Exception $e) {
@@ -68,6 +69,7 @@ class Test_Controller extends Controller {
core_installer::install();
user_installer::install();
+ auth_installer::install();
print new Unit_Test();
}