mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-07 09:16:55 +02:00
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
This commit is contained in:
@@ -59,7 +59,7 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case
|
||||
new phpbb_mock_request()
|
||||
),
|
||||
$filesystem,
|
||||
$this->getMock('\phpbb\request\request'),
|
||||
$this->createMock('\phpbb\request\request'),
|
||||
$this->phpbb_root_path,
|
||||
$this->phpEx
|
||||
);
|
||||
|
@@ -46,7 +46,7 @@ class phpbb_extension_modules_test extends phpbb_test_case
|
||||
|
||||
$this->module_manager = new \phpbb\module\module_manager(
|
||||
new \phpbb\cache\driver\dummy(),
|
||||
$this->getMock('\phpbb\db\driver\driver_interface'),
|
||||
$this->createMock('\phpbb\db\driver\driver_interface'),
|
||||
$this->extension_manager,
|
||||
MODULES_TABLE,
|
||||
dirname(__FILE__) . '/',
|
||||
|
Reference in New Issue
Block a user