diff options
| author | Nicofuma <github@nicofuma.fr> | 2015-05-04 23:50:16 +0200 |
|---|---|---|
| committer | Tristan Darricau <tristan.darricau@sensiolabs.com> | 2015-05-05 17:07:11 +0200 |
| commit | 51376a43919cba7a5037edb7cc31f18b5950437b (patch) | |
| tree | 346e51469449521e40a25d875bcc3f7b8d7846f7 /tests/extension/metadata_manager_test.php | |
| parent | 321ed2a3dd10231a09dec18a85a783a73ba12ddf (diff) | |
| download | forums-51376a43919cba7a5037edb7cc31f18b5950437b.tar forums-51376a43919cba7a5037edb7cc31f18b5950437b.tar.gz forums-51376a43919cba7a5037edb7cc31f18b5950437b.tar.bz2 forums-51376a43919cba7a5037edb7cc31f18b5950437b.tar.xz forums-51376a43919cba7a5037edb7cc31f18b5950437b.zip | |
[ticket/13638] Inject $filesystem in \phpbb\template\asset
PHPBB3-13638
Diffstat (limited to 'tests/extension/metadata_manager_test.php')
| -rw-r--r-- | tests/extension/metadata_manager_test.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/extension/metadata_manager_test.php b/tests/extension/metadata_manager_test.php index 101ab8616c..aaaee3b2e5 100644 --- a/tests/extension/metadata_manager_test.php +++ b/tests/extension/metadata_manager_test.php @@ -51,17 +51,19 @@ class phpbb_extension_metadata_manager_test extends phpbb_database_test_case $cache_path = $this->phpbb_root_path . 'cache/twig'; $context = new \phpbb\template\context(); $loader = new \phpbb\template\twig\loader(new \phpbb\filesystem\filesystem(), ''); - $phpbb_path_helper =new \phpbb\path_helper( + $filesystem = new \phpbb\filesystem\filesystem(); + $phpbb_path_helper = new \phpbb\path_helper( new \phpbb\symfony_request( new phpbb_mock_request() ), - new \phpbb\filesystem\filesystem(), + $filesystem, $this->getMock('\phpbb\request\request'), $this->phpbb_root_path, $this->phpEx ); $twig = new \phpbb\template\twig\environment( $this->config, + $filesystem, $phpbb_path_helper, $container, $cache_path, |
