fixed tests

The test suite was missing a global keyword to access the $INPUT class.
This commit is contained in:
Andreas Gohr 2012-06-25 14:30:16 +02:00
parent 591acd873d
commit fbb9105e03
1 changed files with 3 additions and 0 deletions

View File

@ -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');