aboutsummaryrefslogtreecommitdiffstats
path: root/tests/log/function_view_log_test.php
diff options
context:
space:
mode:
Diffstat (limited to 'tests/log/function_view_log_test.php')
-rw-r--r--tests/log/function_view_log_test.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/log/function_view_log_test.php b/tests/log/function_view_log_test.php
index 6827aaa1b6..a634863fb6 100644
--- a/tests/log/function_view_log_test.php
+++ b/tests/log/function_view_log_test.php
@@ -23,8 +23,10 @@ class phpbb_log_function_view_log_test extends phpbb_database_test_case
public static function view_log_function_data()
{
- global $phpEx, $phpbb_dispatcher;
+ global $phpEx, $phpbb_dispatcher, $phpbb_container, $phpbb_root_path;
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
+ $phpbb_container = new phpbb_mock_container_builder();
+ $phpbb_container->set('filesystem', new phpbb_filesystem($phpbb_root_path));
$expected_data_sets = array(
1 => array(