diff options
| author | rxu <rxu@mail.ru> | 2017-03-19 21:46:20 +0700 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2019-05-08 21:57:00 +0200 |
| commit | 42b7782927713c2ca2fb704db6217016347b586e (patch) | |
| tree | 74d749f282d9087aa658eec91b73b461ffdc5b73 /tests/extension | |
| parent | cdf3aa27df099eb440fb279ac50d1fe42e7b136c (diff) | |
| download | forums-42b7782927713c2ca2fb704db6217016347b586e.tar forums-42b7782927713c2ca2fb704db6217016347b586e.tar.gz forums-42b7782927713c2ca2fb704db6217016347b586e.tar.bz2 forums-42b7782927713c2ca2fb704db6217016347b586e.tar.xz forums-42b7782927713c2ca2fb704db6217016347b586e.zip | |
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
Diffstat (limited to 'tests/extension')
| -rw-r--r-- | tests/extension/metadata_manager_test.php | 2 | ||||
| -rw-r--r-- | tests/extension/modules_test.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php index 533da68c57..bb272b4df3 100644 --- a/tests/extension/metadata_manager_test.php +++ b/tests/extension/metadata_manager_test.php @@ -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 ); diff --git a/tests/extension/modules_test.php b/tests/extension/modules_test.php index 88634bc6ba..20b71e2812 100644 --- a/tests/extension/modules_test.php +++ b/tests/extension/modules_test.php @@ -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__) . '/', |
