summaryrefslogtreecommitdiff
path: root/_test/core
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2012-06-25 14:30:16 +0200
committerAndreas Gohr <gohr@cosmocode.de>2012-06-25 14:30:16 +0200
commitfbb9105e038726f81bd25f31893ef38fe7f06530 (patch)
treec0d34577984eec7f46f997ebc2b71f10b3e3e87c /_test/core
parent591acd873d64abb271864b581c48ca419aa5d329 (diff)
downloadrpg-fbb9105e038726f81bd25f31893ef38fe7f06530.tar.gz
rpg-fbb9105e038726f81bd25f31893ef38fe7f06530.tar.bz2
fixed tests
The test suite was missing a global keyword to access the $INPUT class.
Diffstat (limited to '_test/core')
-rw-r--r--_test/core/TestRequest.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/_test/core/TestRequest.php b/_test/core/TestRequest.php
index fa3ddec90..9047f7e88 100644
--- a/_test/core/TestRequest.php
+++ b/_test/core/TestRequest.php
@@ -58,6 +58,9 @@ class TestRequest {
global $output_buffer;
$output_buffer = '';
+ // make globals available as were in a function context here FIXME: any others needed?
+ global $INPUT;
+
// now execute dokuwiki and grep the output
header_remove();
ob_start('ob_start_callback');