aboutsummaryrefslogtreecommitdiffstats
path: root/tests/request/request_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/request/request_test.php')
-rw-r--r--tests/request/request_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/request/request_test.php b/tests/request/request_test.php
index ebaea1f9ef..47798177e1 100644
--- a/tests/request/request_test.php
+++ b/tests/request/request_test.php
@@ -39,7 +39,7 @@ class phpbb_request_test extends phpbb_test_case
$_SERVER['HTTP_ACCEPT'] = 'application/json';
$_SERVER['HTTP_SOMEVAR'] = '<value>';
- $this->type_cast_helper = $this->getMock('\phpbb\request\type_cast_helper_interface');
+ $this->type_cast_helper = $this->createMock('\phpbb\request\type_cast_helper_interface');
$this->request = new \phpbb\request\request($this->type_cast_helper);
}