aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions_content
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions_content')
-rw-r--r--tests/functions_content/get_username_string_test.php2
-rw-r--r--tests/functions_content/phpbb_format_quote_test.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/functions_content/get_username_string_test.php b/tests/functions_content/get_username_string_test.php
index e79342d05d..ac36e37e93 100644
--- a/tests/functions_content/get_username_string_test.php
+++ b/tests/functions_content/get_username_string_test.php
@@ -18,7 +18,7 @@ class phpbb_functions_content_get_username_string_test extends phpbb_test_case
parent::setUp();
global $auth, $phpbb_dispatcher, $user;
- $auth = $this->getMock('\phpbb\auth\auth');
+ $auth = $this->createMock('\phpbb\auth\auth');
$auth->expects($this->any())
->method('acl_get')
->with($this->stringContains('_'), $this->anything())
diff --git a/tests/functions_content/phpbb_format_quote_test.php b/tests/functions_content/phpbb_format_quote_test.php
index cbbd46d0a9..52a792517a 100644
--- a/tests/functions_content/phpbb_format_quote_test.php
+++ b/tests/functions_content/phpbb_format_quote_test.php
@@ -18,7 +18,7 @@ class phpbb_functions_content_phpbb_format_quote_test extends phpbb_test_case
/** @var \phpbb\language\language */
protected $lang;
- public function setUp()
+ public function setUp(): void
{
global $cache, $user, $phpbb_root_path, $phpEx;