diff options
Diffstat (limited to 'tests/security/base.php')
-rw-r--r-- | tests/security/base.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/security/base.php b/tests/security/base.php index c7dbbb550a..26f267745c 100644 --- a/tests/security/base.php +++ b/tests/security/base.php @@ -55,13 +55,13 @@ abstract class phpbb_security_test_base extends phpbb_test_case $phpbb_filesystem = new phpbb_filesystem($symfony_request, $phpbb_root_path, $phpEx); // Set no user and trick a bit to circumvent errors - $user = new phpbb_user(); + $user = new \phpbb\user(); $user->lang = true; $user->browser = $server['HTTP_USER_AGENT']; $user->referer = ''; $user->forwarded_for = ''; $user->host = $server['HTTP_HOST']; - $user->page = phpbb_session::extract_current_page($phpbb_root_path); + $user->page = \phpbb\session::extract_current_page($phpbb_root_path); } protected function tearDown() |