summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-04-06 07:58:01 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-04-06 07:58:01 +0200
commit1a2b37cc3421ba24931c1ef5edb0f06e61db6d5c (patch)
treeefb73b52ed0d000387eff99a9c36d89b98e913ae /tests
parent988e564ec3af4191cc9a7a8a04ae1cb582271518 (diff)
downloadsemanticscuttle-1a2b37cc3421ba24931c1ef5edb0f06e61db6d5c.tar.gz
semanticscuttle-1a2b37cc3421ba24931c1ef5edb0f06e61db6d5c.tar.bz2
tell people why we need that variable
Diffstat (limited to 'tests')
-rw-r--r--tests/prepare.php2
1 files changed, 2 insertions, 0 deletions
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@') {