mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/16944] Update tests for adjusted environment constructor
PHPBB3-16944
This commit is contained in:
@@ -116,9 +116,13 @@ abstract class phpbb_controller_common_helper_route extends phpbb_database_test_
|
||||
$container = new phpbb_mock_container_builder();
|
||||
$container->setParameter('core.environment', PHPBB_ENVIRONMENT);
|
||||
$cache_path = $phpbb_root_path . 'cache/twig';
|
||||
$log = new \phpbb\log\dummy();
|
||||
$iconify_bundler = new \phpbb\assets\iconify_bundler($log);
|
||||
$assets_bag = new \phpbb\template\assets_bag($iconify_bundler);
|
||||
$context = new \phpbb\template\context();
|
||||
$loader = new \phpbb\template\twig\loader('');
|
||||
$twig = new \phpbb\template\twig\environment(
|
||||
$assets_bag,
|
||||
$this->config,
|
||||
$this->filesystem,
|
||||
$this->phpbb_path_helper,
|
||||
|
Reference in New Issue
Block a user