diff options
| author | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-09 18:47:25 -0500 |
|---|---|---|
| committer | Nathan Guse <nathaniel.guse@gmail.com> | 2013-09-09 18:47:25 -0500 |
| commit | 5e09afa0bc3ff9014812282fd4454f0df54b9dfd (patch) | |
| tree | 11df0dc0628260e2f5dd3381218c602607611477 /tests/log/function_view_log_test.php | |
| parent | 289bc2a411aac4f0adb9b7b649dfd9ef073eaed9 (diff) | |
| download | forums-5e09afa0bc3ff9014812282fd4454f0df54b9dfd.tar forums-5e09afa0bc3ff9014812282fd4454f0df54b9dfd.tar.gz forums-5e09afa0bc3ff9014812282fd4454f0df54b9dfd.tar.bz2 forums-5e09afa0bc3ff9014812282fd4454f0df54b9dfd.tar.xz forums-5e09afa0bc3ff9014812282fd4454f0df54b9dfd.zip | |
[ticket/11832] Make $phpbb_container a global initiated by the framework
Setup common items needed from the container (e.g. filesystem)
PHPBB3-11832
Diffstat (limited to 'tests/log/function_view_log_test.php')
| -rw-r--r-- | tests/log/function_view_log_test.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/tests/log/function_view_log_test.php b/tests/log/function_view_log_test.php index a634863fb6..6827aaa1b6 100644 --- a/tests/log/function_view_log_test.php +++ b/tests/log/function_view_log_test.php @@ -23,10 +23,8 @@ class phpbb_log_function_view_log_test extends phpbb_database_test_case public static function view_log_function_data() { - global $phpEx, $phpbb_dispatcher, $phpbb_container, $phpbb_root_path; + global $phpEx, $phpbb_dispatcher; $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( |
