[TASK] Streamline EXT:form unit test 94/50994/2
authorOliver Hader <oliver@typo3.org>
Sun, 18 Dec 2016 12:21:09 +0000 (13:21 +0100)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 19 Dec 2016 19:33:07 +0000 (20:33 +0100)
commit4131de0f458d5d94b04f10bfdab4ae2c28618e9b
treef9eaa852e993d1cad694553d70646903ef873be8
parent25d53cc07f991fbfed3ad96c86de5af52457af0a
[TASK] Streamline EXT:form unit test

EXT:form's FormManagerControllerTest tries to mock
static method calls of BackendUtility. The methods
to be mocked are now wrapped directly instead of
"wrapping" the reference to the class name.

Change-Id: I7c6381fe093ecc28b85e235fcb425f6048c8ff0c
Resolves: #79023
Releases: master
Reviewed-on: https://review.typo3.org/50994
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Oliver Hader <oliver.hader@typo3.org>
Tested-by: Oliver Hader <oliver.hader@typo3.org>
typo3/sysext/form/Classes/Controller/FormManagerController.php
typo3/sysext/form/Tests/Unit/Controller/Fixtures/BackendUtilityFixture.php [deleted file]
typo3/sysext/form/Tests/Unit/Controller/FormManagerControllerTest.php