1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 07:35:29 +02:00

[ticket/13803] Set up a global $user for tests

PHPBB3-13803
This commit is contained in:
JoshyPHP 2015-05-29 17:35:26 +02:00
parent 1275f77da5
commit c8052ea823

View File

@ -315,7 +315,7 @@ class phpbb_test_case_helpers
public function set_s9e_services(ContainerInterface $container = null, $fixture = null, $styles_path = null)
{
static $first_run;
global $phpbb_container, $phpbb_dispatcher, $phpbb_root_path, $phpEx;
global $phpbb_container, $phpbb_dispatcher, $phpbb_root_path, $phpEx, $user;
$cache_dir = __DIR__ . '/../tmp/';