summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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');