aboutsummaryrefslogtreecommitdiffstats
path: root/tests/content_visibility/get_global_visibility_sql_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/content_visibility/get_global_visibility_sql_test.php')
-rw-r--r--tests/content_visibility/get_global_visibility_sql_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/content_visibility/get_global_visibility_sql_test.php b/tests/content_visibility/get_global_visibility_sql_test.php
index 9ae4182673..eced3aa680 100644
--- a/tests/content_visibility/get_global_visibility_sql_test.php
+++ b/tests/content_visibility/get_global_visibility_sql_test.php
@@ -129,7 +129,7 @@ class phpbb_content_visibility_get_global_visibility_sql_test extends phpbb_data
$db = $this->new_dbal();
// Create auth mock
- $auth = $this->getMock('\phpbb\auth\auth');
+ $auth = $this->createMock('\phpbb\auth\auth');
$auth->expects($this->any())
->method('acl_getf')
->with($this->stringContains('_'), $this->anything())