mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-24 21:39:11 -04:00
Modify the test controller to call tag_installer::install and uninstall
Created the first tag unit test
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user