summaryrefslogtreecommitdiff
path: root/_test/bootstrap.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-10-20 11:58:29 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-10-20 11:58:29 -0700
commit12d06e83291e16be27c765ed98034f5ead301450 (patch)
tree42f309604e0f101841d083bb89853b8f9db86686 /_test/bootstrap.php
parentf9fbe4cf2ef1298c185836461720fe1c88082118 (diff)
parent03a4f627659f89d54c121b485ca89dfaa4a304c0 (diff)
downloadrpg-12d06e83291e16be27c765ed98034f5ead301450.tar.gz
rpg-12d06e83291e16be27c765ed98034f5ead301450.tar.bz2
Merge pull request #388 from splitbrain/unittest_errorreporting
set error level so it is propagated correctly to dokuwiki
Diffstat (limited to '_test/bootstrap.php')
-rw-r--r--_test/bootstrap.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/_test/bootstrap.php b/_test/bootstrap.php
index 3f59db515..4f0d5efaa 100644
--- a/_test/bootstrap.php
+++ b/_test/bootstrap.php
@@ -15,7 +15,8 @@ require_once DOKU_UNITTEST.'core/TestUtils.php';
define('SIMPLE_TEST', true);
// basic behaviours
-error_reporting(E_ALL);
+define('DOKU_E_LEVEL',E_ALL ^ E_NOTICE);
+error_reporting(DOKU_E_LEVEL);
set_time_limit(0);
ini_set('memory_limit','2048M');