[ticket/690] Update test for phpBB 3.2.0 and PHP 7.1 compatibility

B3P-690
This commit is contained in:
Marc Alexander
2017-01-08 22:09:21 +01:00
parent 2b6c85e2cf
commit 7f36382cc6
8 changed files with 91 additions and 34 deletions

View File

@@ -59,8 +59,7 @@ class listener_test extends \phpbb_template_template_test_case
$manager = new \phpbb_mock_extension_manager(dirname(__FILE__) . '/', array());
$finder = new \phpbb\finder(
new \phpbb\filesystem\filesystem(),
dirname(__FILE__) . '/',
new \phpbb_mock_cache()
dirname(__FILE__) . '/'
);
$finder->set_extensions(array_keys($manager->all_enabled()));
$request = new \phpbb_mock_request();