From fbb9105e038726f81bd25f31893ef38fe7f06530 Mon Sep 17 00:00:00 2001 From: Andreas Gohr Date: Mon, 25 Jun 2012 14:30:16 +0200 Subject: [PATCH] fixed tests The test suite was missing a global keyword to access the $INPUT class. --- _test/core/TestRequest.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/_test/core/TestRequest.php b/_test/core/TestRequest.php index fa3ddec90f..9047f7e88c 100644 --- a/_test/core/TestRequest.php +++ b/_test/core/TestRequest.php @@ -58,6 +58,9 @@ public function execute() { 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');