summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-02 11:53:10 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-02 11:53:10 -0700
commit79754c2ef477c98740166a2a86fb491e0b07944e (patch)
tree1f2a234d212a75e9a8512498c2cc1d612071a99f
parenta09a6a06bef1ff08e09a2855b308e20ea739ca1e (diff)
Run 'graphics::choose_default_toolkit();' to pick a toolkit, which we
normally do as part of a regular install.
-rw-r--r--modules/gallery_unit_test/controllers/gallery_unit_test.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/gallery_unit_test/controllers/gallery_unit_test.php b/modules/gallery_unit_test/controllers/gallery_unit_test.php
index 8f3353dc..a5dbcc1f 100644
--- a/modules/gallery_unit_test/controllers/gallery_unit_test.php
+++ b/modules/gallery_unit_test/controllers/gallery_unit_test.php
@@ -122,6 +122,9 @@ class Gallery_Unit_Test_Controller extends Controller {
module::activate($module_name);
}
+ // Trigger late-binding install actions (defined in gallery_event::user_login)
+ graphics::choose_default_toolkit();
+
$filter = count($_SERVER["argv"]) > 2 ? $_SERVER["argv"][2] : null;
print new Unit_Test($modules, $filter);
} catch (Exception $e) {