diff options
author | Andreas Gohr <gohr@cosmocode.de> | 2012-06-25 14:30:16 +0200 |
---|---|---|
committer | Andreas Gohr <gohr@cosmocode.de> | 2012-06-25 14:30:16 +0200 |
commit | fbb9105e038726f81bd25f31893ef38fe7f06530 (patch) | |
tree | c0d34577984eec7f46f997ebc2b71f10b3e3e87c /_test/core/TestRequest.php | |
parent | 591acd873d64abb271864b581c48ca419aa5d329 (diff) | |
download | rpg-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/TestRequest.php')
-rw-r--r-- | _test/core/TestRequest.php | 3 |
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'); |