aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/request.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/mock/request.php')
-rw-r--r--tests/mock/request.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/mock/request.php b/tests/mock/request.php
index b71361e33e..ed0744c8cf 100644
--- a/tests/mock/request.php
+++ b/tests/mock/request.php
@@ -74,6 +74,11 @@ class phpbb_mock_request implements \phpbb\request\request_interface
return array_keys($this->data[$super_global]);
}
+ public function get_super_global($super_global = phpbb_request_interface::REQUEST)
+ {
+ return $this->data[$super_global];
+ }
+
/* custom methods */
public function set_header($header_name, $value)