[TASK] Mock FileRepository Singletons in unit tests 55/59755/2
authorBenjamin Franzke <bfr@qbus.de>
Mon, 18 Feb 2019 14:56:21 +0000 (15:56 +0100)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Sat, 23 Feb 2019 17:18:07 +0000 (18:18 +0100)
commita5bd8b3881f0fd323e175a0526b18e5c05c18f18
tree7d7816a2bb89ad81a29df3138138d152579c4b25
parent871914513d071f7a0ecb57dbf715a4c84fcd0cfc
[TASK] Mock FileRepository Singletons in unit tests

Prevent indirect SignalSlot\Dispatcher and ObjectManager
invocation by mocking FileRepository.

Releases: master, 9.5
Resolves: #87740
Change-Id: Ia193cc52af95bae9b1306bef012c7871bf939b41
Reviewed-on: https://review.typo3.org/c/59755
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectItemsTest.php
typo3/sysext/backend/Tests/Unit/Form/FormDataProvider/TcaSelectTreeItemsTest.php
typo3/sysext/frontend/Tests/Unit/ContentObject/FilesContentObjectTest.php