summaryrefslogtreecommitdiff
path: root/tests/prepare.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-13 06:57:54 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-13 06:57:54 +0200
commit803b83fb7d051593066b5224a59fbf3ec6efc824 (patch)
tree173c97393f9e211b05f8c73793c180a1b88799b0 /tests/prepare.php
parentfbfbd8d5cae579058b5d31b97c062cefd9bb36b6 (diff)
parent88d7b9631b444cef28115fb8e0bae736b45e557e (diff)
downloadsemanticscuttle-803b83fb7d051593066b5224a59fbf3ec6efc824.tar.gz
semanticscuttle-803b83fb7d051593066b5224a59fbf3ec6efc824.tar.bz2
Merge branch 'master' into ssl-client-certs
Diffstat (limited to 'tests/prepare.php')
-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@') {