Skip to content

Commit

Permalink
fixed tests
Browse files Browse the repository at this point in the history
The test suite was missing a global keyword to access the $INPUT class.
  • Loading branch information
splitbrain committed Jun 25, 2012
1 parent 591acd8 commit fbb9105
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _test/core/TestRequest.php
Expand Up @@ -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');
Expand Down

0 comments on commit fbb9105

Please sign in to comment.