mirror of
https://github.com/phpbb/phpbb.git
synced 2025-05-06 23:55:26 +02:00
[ticket/13803] Set up a global $user for tests
PHPBB3-13803
This commit is contained in:
parent
1275f77da5
commit
c8052ea823
@ -315,7 +315,7 @@ class phpbb_test_case_helpers
|
|||||||
public function set_s9e_services(ContainerInterface $container = null, $fixture = null, $styles_path = null)
|
public function set_s9e_services(ContainerInterface $container = null, $fixture = null, $styles_path = null)
|
||||||
{
|
{
|
||||||
static $first_run;
|
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/';
|
$cache_dir = __DIR__ . '/../tmp/';
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user