aboutsummaryrefslogtreecommitdiffstats
path: root/tests/mock/request.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-08-18 22:21:50 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-08-18 22:26:30 +0200
commita48889fed83b007202e76ddf1ba5436eca310df0 (patch)
tree4036210bb9c7dfc3e029ae8ef6f1962b441be056 /tests/mock/request.php
parent24e9fb24d105b8e475dbaf66fd99be2839b86675 (diff)
downloadforums-a48889fed83b007202e76ddf1ba5436eca310df0.tar
forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar.gz
forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar.bz2
forums-a48889fed83b007202e76ddf1ba5436eca310df0.tar.xz
forums-a48889fed83b007202e76ddf1ba5436eca310df0.zip
[feature/request-class] Add is_secure method to request for HTTPS
PHPBB3-9716
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 86b8695e32..18aa2e724c 100644
--- a/tests/mock/request.php
+++ b/tests/mock/request.php
@@ -57,6 +57,11 @@ class phpbb_mock_request implements phpbb_request_interface
return false;
}
+ public function is_secure()
+ {
+ return false;
+ }
+
public function variable_names($super_global = phpbb_request_interface::REQUEST)
{
return array_keys($this->data[$super_global]);