Skip to content

Commit 21414a3

Browse files
committed
[BUGFIX] Add EventDispatcher to dependencies of AbstractCompiler
1 parent a318dd3 commit 21414a3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Tests/Functional/Compiler/LanguageMenuCompilerTest.php

+2
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ protected function compileMenu(array $pageDataset, array $configuration = []): a
256256
->getMock();
257257
$pageRepository = GeneralUtility::makeInstance(PageRepository::class);
258258
$menuRepository = GeneralUtility::makeInstance(MenuRepository::class, $context, $pageRepository, $this->createMock(EventDispatcherInterface::class));
259+
$eventDispatcher = $this->createMock(EventDispatcherInterface::class);
259260
$cacheHelper = $this->getMockBuilder($this->buildAccessibleProxy(CacheHelper::class))
260261
->onlyMethods([])
261262
->disableOriginalConstructor()
@@ -273,6 +274,7 @@ protected function compileMenu(array $pageDataset, array $configuration = []): a
273274
$context,
274275
$cacheHelper,
275276
$menuRepository,
277+
$eventDispatcher
276278
]
277279
)
278280
->getMock();

0 commit comments

Comments
 (0)