From: Christian Weiske Date: Wed, 6 Apr 2011 05:58:01 +0000 (+0200) Subject: tell people why we need that variable X-Git-Tag: v0.98.0~46^2~22 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1a2b37cc3421ba24931c1ef5edb0f06e61db6d5c;p=semanticscuttle.git tell people why we need that variable --- 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@') {