mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-21 07:51:33 +02:00
[ticket/10714] Fix unit test because of events and moved files
PHPBB3-10714
This commit is contained in:
@@ -38,9 +38,10 @@ class phpbb_log_add_test extends phpbb_database_test_case
|
||||
|
||||
public function test_log_add()
|
||||
{
|
||||
global $db;
|
||||
global $db, $phpbb_dispatcher;
|
||||
|
||||
$db = $this->new_dbal();
|
||||
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
||||
|
||||
$mode = 'critical';
|
||||
$user_id = ANONYMOUS;
|
||||
|
Reference in New Issue
Block a user