mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/13638] Inject $filesystem in \phpbb\template\asset
PHPBB3-13638
This commit is contained in:
committed by
Tristan Darricau
parent
321ed2a3dd
commit
51376a4391
@@ -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());
|
||||
|
Reference in New Issue
Block a user