From 1a2b37cc3421ba24931c1ef5edb0f06e61db6d5c Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 6 Apr 2011 07:58:01 +0200 Subject: tell people why we need that variable --- tests/prepare.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/prepare.php b/tests/prepare.php index 6afc284..c80306e 100644 --- a/tests/prepare.php +++ b/tests/prepare.php @@ -16,7 +16,9 @@ /** * Prepare the application for unit testing */ +//that's needed in constants.php $_SERVER['HTTP_HOST'] = 'http://localhost/'; + define('UNIT_TEST_MODE', true); if ('@data_dir@' == '@' . 'data_dir@') { -- cgit v1.2.3