diff options
author | rxu <rxu@mail.ru> | 2017-03-19 21:46:20 +0700 |
---|---|---|
committer | rxu <rxu@mail.ru> | 2017-07-17 16:56:55 +0700 |
commit | e3859d894da3974d82491b228243c186c662bc9c (patch) | |
tree | fdf67caf1442f09dd9289b4fdc2551cc06171782 /tests/content_visibility/set_topic_visibility_test.php | |
parent | [ticket/14972] Fix sizeof calls (diff) | |
download | phpbb-e3859d894da3974d82491b228243c186c662bc9c.tar.gz phpbb-e3859d894da3974d82491b228243c186c662bc9c.tar.bz2 phpbb-e3859d894da3974d82491b228243c186c662bc9c.zip |
[ticket/14972] Migrate from deprecated getMock() method to createMock()
PHPBB3-14972
Diffstat (limited to 'tests/content_visibility/set_topic_visibility_test.php')
-rw-r--r-- | tests/content_visibility/set_topic_visibility_test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/content_visibility/set_topic_visibility_test.php b/tests/content_visibility/set_topic_visibility_test.php index 78431396c3..3db79c0fe0 100644 --- a/tests/content_visibility/set_topic_visibility_test.php +++ b/tests/content_visibility/set_topic_visibility_test.php @@ -84,7 +84,7 @@ class phpbb_content_visibility_set_topic_visibility_test extends phpbb_database_ $cache = new phpbb_mock_cache; $db = $this->new_dbal(); - $auth = $this->getMock('\phpbb\auth\auth'); + $auth = $this->createMock('\phpbb\auth\auth'); $lang_loader = new \phpbb\language\language_file_loader($phpbb_root_path, $phpEx); $lang = new \phpbb\language\language($lang_loader); $user = new \phpbb\user($lang, '\phpbb\datetime'); |