summaryrefslogtreecommitdiff
path: root/_testing/unittests/bootstrap.php
diff options
context:
space:
mode:
authorDominik Eckelmann <deckelmann@gmail.com>2012-04-01 18:31:34 +0200
committerDominik Eckelmann <deckelmann@gmail.com>2012-04-01 18:31:34 +0200
commit739071715cb5267191e4a5b5824fbc28a2fa3ef4 (patch)
tree5ed3ca4228d2475656047c07c8be4456e50de55c /_testing/unittests/bootstrap.php
parent9d421a3d3c1411a47d49f43cfc1f798f6a96ab8c (diff)
downloadrpg-739071715cb5267191e4a5b5824fbc28a2fa3ef4.tar.gz
rpg-739071715cb5267191e4a5b5824fbc28a2fa3ef4.tar.bz2
added first phpunit test
Diffstat (limited to '_testing/unittests/bootstrap.php')
-rw-r--r--_testing/unittests/bootstrap.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/_testing/unittests/bootstrap.php b/_testing/unittests/bootstrap.php
new file mode 100644
index 000000000..27ca1635e
--- /dev/null
+++ b/_testing/unittests/bootstrap.php
@@ -0,0 +1,9 @@
+<?php
+
+define('DOKU_UNITTEST',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(600);
+ini_set('memory_limit','128M');