mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-29 19:20:23 +02:00
[ticket/12932] Fix tests and calls to create_datetime
PHPBB3-12932
This commit is contained in:
@@ -30,7 +30,7 @@ class phpbb_log_delete_test extends phpbb_database_test_case
|
||||
|
||||
$db = $this->new_dbal();
|
||||
$phpbb_dispatcher = new phpbb_mock_event_dispatcher();
|
||||
$user = $this->getMock('\phpbb\user');
|
||||
$user = new \phpbb\user('\phpbb\datetime');
|
||||
$user->data['user_id'] = 1;
|
||||
$auth = $this->getMock('\phpbb\auth\auth');
|
||||
|
||||
|
Reference in New Issue
Block a user