aboutsummaryrefslogtreecommitdiff
path: root/tests/prepare.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/prepare.php')
-rw-r--r--tests/prepare.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/prepare.php b/tests/prepare.php
new file mode 100644
index 0000000..50304c2
--- /dev/null
+++ b/tests/prepare.php
@@ -0,0 +1,7 @@
+<?php
+/**
+ * Prepare the application for unit testing
+ */
+$_SERVER['HTTP_HOST'] = 'http://localhost/';
+define('UNIT_TEST_MODE', true);
+?> \ No newline at end of file