summaryrefslogtreecommitdiff
path: root/_testing/bootstrap.php
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2012-04-17 10:06:57 +0200
committerAndreas Gohr <gohr@cosmocode.de>2012-04-17 10:06:57 +0200
commitd8deaf4a82a59cfdcfb6de9b583196dc94095bfd (patch)
tree625ce870681795533bf5e29b73754dde0b4661c7 /_testing/bootstrap.php
parent3ab58ffe5551d68e5a34f8e29e55c5e0c2511570 (diff)
downloadrpg-d8deaf4a82a59cfdcfb6de9b583196dc94095bfd.tar.gz
rpg-d8deaf4a82a59cfdcfb6de9b583196dc94095bfd.tar.bz2
removed hook method from TestRequest
Diffstat (limited to '_testing/bootstrap.php')
-rw-r--r--_testing/bootstrap.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/_testing/bootstrap.php b/_testing/bootstrap.php
index 5b828141f..6a4bae728 100644
--- a/_testing/bootstrap.php
+++ b/_testing/bootstrap.php
@@ -211,11 +211,6 @@ abstract class DokuWikiTest extends PHPUnit_Framework_TestCase {
// Helper class to execute a fake request
class TestRequest {
- function hook($hook, $step, $function) {
- global $EVENT_HANDLER;
- $null = null;
- $EVENT_HANDLER->register_hook($hook, $step, $null, $function);
- }
function execute() {
global $output_buffer;