mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 16:56:44 +02:00
[ticket/16549] Fix tests
PHPBB3-16549
This commit is contained in:
@@ -32,6 +32,8 @@ class phpbb_template_extension_test extends phpbb_template_template_test_case
|
||||
global $auth, $request, $symfony_request, $user;
|
||||
$user = new phpbb_mock_user();
|
||||
$user->optionset('user_id', 2);
|
||||
$user->style['style_path'] = '';
|
||||
$user->data['user_id'] = 2;
|
||||
$auth = $this->getMockBuilder('phpbb\auth\auth')
|
||||
->disableOriginalConstructor()
|
||||
->setMethods(['acl_get'])
|
||||
|
Reference in New Issue
Block a user