[BUGFIX] Fix incomplete mocking in several tests 66/28666/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Sun, 23 Mar 2014 13:23:03 +0000 (14:23 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 23 Mar 2014 13:25:35 +0000 (14:25 +0100)
commitc4a396247afed000bcff4d4ffbb7213b9af1b900
tree732120b60affa927b9e245b27e52700b0888dd7a
parent5caf0323443bd09d318a651329303c0f00e89411
[BUGFIX] Fix incomplete mocking in several tests

IndexerServiceTest and ExtensionManagementServiceTest
both execute emit signal methods which in turn
try to instantiate the SignalSlotDispatcher,
which can fail.

Resolve this by mocking these methods.

Resolves: #57206
Releases: 6.2
Change-Id: I0a239abeb7c94839a413870c58f22ae59fed8470
Reviewed-on: https://review.typo3.org/28666
Reviewed-by: Markus Klein
Reviewed-by: Wouter Wolters
Tested-by: Wouter Wolters
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
typo3/sysext/core/Tests/Unit/Resource/Service/IndexerServiceTest.php
typo3/sysext/extensionmanager/Tests/Unit/Service/ExtensionManagementServiceTest.php