[BUGFIX] adminpanel: Do not use getTSConfig in a deprecated way 96/58396/2
authorBenjamin Franzke <bfr@qbus.de>
Wed, 26 Sep 2018 06:35:20 +0000 (08:35 +0200)
committerGeorg Ringer <georg.ringer@gmail.com>
Wed, 26 Sep 2018 11:16:25 +0000 (13:16 +0200)
commit7f8f518d9af5c89b6682638df745356d24af615e
tree030d734a85b49047169c642fa296e954f4747c99
parent588cc105a8e4a93e1bf50f8493c2144de4bf3106
[BUGFIX] adminpanel: Do not use getTSConfig in a deprecated way

Since https://review.typo3.org/56968 handing over arguments
to getTSConfig() is deprecated.

As a drive-by we also fix some related wrong getTSConfig() mocks
in Unit/Middleware/AdminPanelInitiatorTest.php – they do not
produce errors, but these mocks are too unspecific, as they
still allow an argument to be passed.

Releases: master
Resolves: #86383
Related: #85016
Change-Id: I7254b5d0b87bc66da319728f7fe82aaa614b6a43
Reviewed-on: https://review.typo3.org/58396
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
typo3/sysext/adminpanel/Classes/Service/ConfigurationService.php
typo3/sysext/adminpanel/Tests/Unit/Middleware/AdminPanelInitiatorTest.php
typo3/sysext/adminpanel/Tests/Unit/Service/ConfigurationServiceTest.php