aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Guse <nathaniel.guse@gmail.com>2013-09-09 18:27:12 -0500
committerNathan Guse <nathaniel.guse@gmail.com>2013-09-09 18:27:12 -0500
commit289bc2a411aac4f0adb9b7b649dfd9ef073eaed9 (patch)
treedcaa94a5400b6fbdecc91896cf08e545f627b45e
parent6692db892f538d3a72f1dbd06af9a94f24a9da9a (diff)
downloadforums-289bc2a411aac4f0adb9b7b649dfd9ef073eaed9.tar
forums-289bc2a411aac4f0adb9b7b649dfd9ef073eaed9.tar.gz
forums-289bc2a411aac4f0adb9b7b649dfd9ef073eaed9.tar.bz2
forums-289bc2a411aac4f0adb9b7b649dfd9ef073eaed9.tar.xz
forums-289bc2a411aac4f0adb9b7b649dfd9ef073eaed9.zip
[ticket/11832] Fix log tests
PHPBB3-11832
-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(