aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_framework/phpbb_test_case_helpers.php
diff options
context:
space:
mode:
authorJoshyPHP <s9e.dev@gmail.com>2015-05-29 17:35:26 +0200
committerJoshyPHP <s9e.dev@gmail.com>2015-05-30 17:26:13 +0200
commitc8052ea8230cf7bb70c979dfc87b04527635f4b0 (patch)
tree4b4f3fd345fb199cb4b1712702f75333b361d68d /tests/test_framework/phpbb_test_case_helpers.php
parent1275f77da5e1522d530bee55a5aa493817f58e71 (diff)
downloadforums-c8052ea8230cf7bb70c979dfc87b04527635f4b0.tar
forums-c8052ea8230cf7bb70c979dfc87b04527635f4b0.tar.gz
forums-c8052ea8230cf7bb70c979dfc87b04527635f4b0.tar.bz2
forums-c8052ea8230cf7bb70c979dfc87b04527635f4b0.tar.xz
forums-c8052ea8230cf7bb70c979dfc87b04527635f4b0.zip
[ticket/13803] Set up a global $user for tests
PHPBB3-13803
Diffstat (limited to 'tests/test_framework/phpbb_test_case_helpers.php')
-rw-r--r--tests/test_framework/phpbb_test_case_helpers.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_framework/phpbb_test_case_helpers.php b/tests/test_framework/phpbb_test_case_helpers.php
index 210cda9a94..cf530cc5be 100644
--- a/tests/test_framework/phpbb_test_case_helpers.php
+++ b/tests/test_framework/phpbb_test_case_helpers.php
@@ -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/';