aboutsummaryrefslogtreecommitdiffstats
path: root/tests/template/asset_test.php
diff options
context:
space:
mode:
authorNicofuma <github@nicofuma.fr>2015-05-04 23:50:16 +0200
committerTristan Darricau <tristan.darricau@sensiolabs.com>2015-05-05 17:07:11 +0200
commit51376a43919cba7a5037edb7cc31f18b5950437b (patch)
tree346e51469449521e40a25d875bcc3f7b8d7846f7 /tests/template/asset_test.php
parent321ed2a3dd10231a09dec18a85a783a73ba12ddf (diff)
downloadforums-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/template/asset_test.php')
-rw-r--r--tests/template/asset_test.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/template/asset_test.php b/tests/template/asset_test.php
index f84ea2e3ee..f6ce0fe241 100644
--- a/tests/template/asset_test.php
+++ b/tests/template/asset_test.php
@@ -41,7 +41,7 @@ class phpbb_template_asset_test extends phpbb_test_case
$path_helper->method('get_phpbb_root_path')
->willReturn($phpbb_root_path);
- $asset = new asset('', $path_helper);
+ $asset = new asset('', $path_helper, new phpbb\filesystem\filesystem());
$asset->set_path($path, true);
$this->assertEquals($expected, $asset->get_path());