mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 13:28:55 +00:00
Merge branch '3.3.x'
This commit is contained in:
commit
71f04e7337
1 changed files with 2 additions and 1 deletions
|
@ -30,7 +30,7 @@ class phpbb_avatar_manager_test extends \phpbb_database_test_case
|
||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
global $phpbb_root_path, $phpEx;
|
global $phpbb_dispatcher, $phpbb_root_path, $phpEx;
|
||||||
|
|
||||||
// Mock phpbb_container
|
// Mock phpbb_container
|
||||||
$phpbb_container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
|
$phpbb_container = $this->createMock('Symfony\Component\DependencyInjection\ContainerInterface');
|
||||||
|
@ -55,6 +55,7 @@ class phpbb_avatar_manager_test extends \phpbb_database_test_case
|
||||||
$imagesize = new \FastImageSize\FastImageSize();
|
$imagesize = new \FastImageSize\FastImageSize();
|
||||||
|
|
||||||
$dispatcher = new phpbb_mock_event_dispatcher();
|
$dispatcher = new phpbb_mock_event_dispatcher();
|
||||||
|
$phpbb_dispatcher = $dispatcher;
|
||||||
|
|
||||||
$controller_helper = $this->createMock('\phpbb\controller\helper');
|
$controller_helper = $this->createMock('\phpbb\controller\helper');
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue