mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user