mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-11 03:04:09 +02:00
[ticket/16891] Update test files to work with changed cache service
PHPBB3-16891
This commit is contained in:
@@ -58,6 +58,10 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
|
||||
$phpbb_filesystem = new \phpbb\filesystem\filesystem();
|
||||
|
||||
$this->backup_cache = $cache;
|
||||
|
||||
// Event dispatcher
|
||||
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
||||
|
||||
// Change the global cache object for this test because
|
||||
// the mock cache object does not hit the database as is needed
|
||||
// for this test.
|
||||
@@ -65,6 +69,7 @@ class phpbb_session_check_ban_test extends phpbb_session_test_case
|
||||
new \phpbb\cache\driver\file(),
|
||||
$config,
|
||||
$this->db,
|
||||
$phpbb_dispatcher,
|
||||
$phpbb_root_path,
|
||||
$phpEx
|
||||
);
|
||||
|
Reference in New Issue
Block a user