summaryrefslogtreecommitdiff
path: root/_testing/unittests/bootstrap.php
diff options
context:
space:
mode:
Diffstat (limited to '_testing/unittests/bootstrap.php')
-rw-r--r--_testing/unittests/bootstrap.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/_testing/unittests/bootstrap.php b/_testing/unittests/bootstrap.php
new file mode 100644
index 000000000..b5aca6204
--- /dev/null
+++ b/_testing/unittests/bootstrap.php
@@ -0,0 +1,10 @@
+<?php
+
+define('DOKU_UNITTEST', true);
+define('SIMPLE_TEST', true);
+if(!defined('DOKU_INC')) define('DOKU_INC',realpath(dirname(__FILE__).'/../../').'/');
+define('DOKU_CONF',realpath(dirname(__FILE__).'/../../conf').'/');
+
+error_reporting(E_ALL);
+set_time_limit(0);
+ini_set('memory_limit','2048M');