aboutsummaryrefslogtreecommitdiffstats
path: root/tests/functions_content/get_username_string_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/functions_content/get_username_string_test.php')
-rw-r--r--tests/functions_content/get_username_string_test.php2
1 files changed, 1 insertions, 1 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())