diff options
| author | Marc Alexander <admin@m-a-styles.de> | 2017-04-16 19:41:14 +0200 |
|---|---|---|
| committer | Marc Alexander <admin@m-a-styles.de> | 2017-04-16 19:41:14 +0200 |
| commit | 515d3b7cd1b20750a2fba84ec57da8df5e722e5c (patch) | |
| tree | 99bdec140f08170e7de71febb0393adf25a4c1ec /tests | |
| parent | c5126af1df58229cfc30eb8cd81c311a307747cd (diff) | |
| parent | fcc8e155ec309669bebbf6e0370cecfe64c95193 (diff) | |
| download | forums-515d3b7cd1b20750a2fba84ec57da8df5e722e5c.tar forums-515d3b7cd1b20750a2fba84ec57da8df5e722e5c.tar.gz forums-515d3b7cd1b20750a2fba84ec57da8df5e722e5c.tar.bz2 forums-515d3b7cd1b20750a2fba84ec57da8df5e722e5c.tar.xz forums-515d3b7cd1b20750a2fba84ec57da8df5e722e5c.zip | |
Merge pull request #4633 from rxu/ticket/14990
[ticket/14990] Add core events to the Twig environment
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/controller/common_helper_route.php | 1 | ||||
| -rw-r--r-- | tests/email/email_parsing_test.php | 1 | ||||
| -rw-r--r-- | tests/extension/metadata_manager_test.php | 3 | ||||
| -rw-r--r-- | tests/template/template_allfolder_test.php | 1 | ||||
| -rw-r--r-- | tests/template/template_events_test.php | 1 | ||||
| -rw-r--r-- | tests/template/template_includecss_test.php | 1 | ||||
| -rw-r--r-- | tests/template/template_test_case.php | 1 | ||||
| -rw-r--r-- | tests/template/template_test_case_with_tree.php | 1 |
8 files changed, 8 insertions, 2 deletions
diff --git a/tests/controller/common_helper_route.php b/tests/controller/common_helper_route.php index 367c15a667..ea2bc042b1 100644 --- a/tests/controller/common_helper_route.php +++ b/tests/controller/common_helper_route.php @@ -114,6 +114,7 @@ abstract class phpbb_controller_common_helper_route extends phpbb_test_case $cache_path, null, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, diff --git a/tests/email/email_parsing_test.php b/tests/email/email_parsing_test.php index 351a38514f..8fdfe3035e 100644 --- a/tests/email/email_parsing_test.php +++ b/tests/email/email_parsing_test.php @@ -81,6 +81,7 @@ class phpbb_email_parsing_test extends phpbb_test_case $cache_path, null, new \phpbb\template\twig\loader($filesystem, ''), + new \phpbb\event\dispatcher($phpbb_container), array( 'cache' => false, 'debug' => false, diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php index 8ef41f3673..533da68c57 100644 --- a/tests/extension/metadata_manager_test.php +++ b/tests/extension/metadata_manager_test.php @@ -70,6 +70,7 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case $cache_path, null, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, @@ -78,8 +79,6 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case ) ); - $container = new phpbb_mock_container_builder(); - $this->migrator = new \phpbb\db\migrator( $container, $this->config, diff --git a/tests/template/template_allfolder_test.php b/tests/template/template_allfolder_test.php index 9a0a42fabd..63a6ef08ea 100644 --- a/tests/template/template_allfolder_test.php +++ b/tests/template/template_allfolder_test.php @@ -67,6 +67,7 @@ class phpbb_template_allfolder_test extends phpbb_template_template_test_case $cache_path, $this->extension_manager, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, diff --git a/tests/template/template_events_test.php b/tests/template/template_events_test.php index e245c90aee..3a93c91e11 100644 --- a/tests/template/template_events_test.php +++ b/tests/template/template_events_test.php @@ -161,6 +161,7 @@ Zeta test event in all', $cache_path, $this->extension_manager, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, diff --git a/tests/template/template_includecss_test.php b/tests/template/template_includecss_test.php index 764652c9c2..bc871aa612 100644 --- a/tests/template/template_includecss_test.php +++ b/tests/template/template_includecss_test.php @@ -53,6 +53,7 @@ class phpbb_template_template_includecss_test extends phpbb_template_template_te $cache_path, null, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, diff --git a/tests/template/template_test_case.php b/tests/template/template_test_case.php index e52d3b76dd..8adbafb1b2 100644 --- a/tests/template/template_test_case.php +++ b/tests/template/template_test_case.php @@ -105,6 +105,7 @@ class phpbb_template_template_test_case extends phpbb_test_case $cache_path, null, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, diff --git a/tests/template/template_test_case_with_tree.php b/tests/template/template_test_case_with_tree.php index ff35d16120..75e3918f44 100644 --- a/tests/template/template_test_case_with_tree.php +++ b/tests/template/template_test_case_with_tree.php @@ -48,6 +48,7 @@ class phpbb_template_template_test_case_with_tree extends phpbb_template_templat $cache_path, null, $loader, + new \phpbb\event\dispatcher($container), array( 'cache' => false, 'debug' => false, |
