Skip to content

Commit 7a76df4

Browse files
authored
Merge pull request #112 from b13/bugfix/newDependencyInTests
Bugfix/new dependency in tests
2 parents a318dd3 + 5cbd8cd commit 7a76df4

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)