diff options
author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-10 10:06:13 -0500 |
---|---|---|
committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-10 10:06:13 -0500 |
commit | d5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4 (patch) | |
tree | dcaa94a5400b6fbdecc91896cf08e545f627b45e /tests/log/function_view_log_test.php | |
parent | 5e09afa0bc3ff9014812282fd4454f0df54b9dfd (diff) | |
download | forums-d5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4.tar forums-d5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4.tar.gz forums-d5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4.tar.bz2 forums-d5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4.tar.xz forums-d5f93f5ce4c25b4bd0aff9473eb47eeeb1afccd4.zip |
Revert "[ticket/11832] Make $phpbb_container a global initiated by the framework"
This reverts commit 5e09afa0bc3ff9014812282fd4454f0df54b9dfd.
Diffstat (limited to 'tests/log/function_view_log_test.php')
-rw-r--r-- | tests/log/function_view_log_test.php | 4 |
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( |