mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/11832] Create phpbb_symfony_request to handle initiating symfony_request
Now symfony_request is also a service (removed the function phpbb_create_symfony_request). Inject symfony request into filesystem Cleanup for the tests PHPBB3-11832
This commit is contained in:
@@ -14,7 +14,12 @@ class phpbb_filesystem_clean_path_test extends phpbb_test_case
|
||||
public function setUp()
|
||||
{
|
||||
parent::setUp();
|
||||
$this->filesystem = new phpbb_filesystem(__DIR__ . './../../phpBB/');
|
||||
$this->filesystem = new phpbb_filesystem(
|
||||
new phpbb_symfony_request(
|
||||
new phpbb_mock_request()
|
||||
),
|
||||
dirname(__FILE__) . './../../phpBB/'
|
||||
);
|
||||
}
|
||||
|
||||
public function clean_path_data()
|
||||
|
Reference in New Issue
Block a user