[BUGFIX] Side effects from LocalConfiguration in acceptance tests 19/50219/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Thu, 13 Oct 2016 16:36:51 +0000 (18:36 +0200)
committerAnja Leichsenring <aleichsenring@ab-softlab.de>
Thu, 13 Oct 2016 17:18:10 +0000 (19:18 +0200)
commit15dbf79a1e38a83ec1a08a1a2b3a21b3f56de065
tree797930c8de21320d00692efbd3365bcbaf457c30
parent305f0a61adac6c6d8ceeb4c5298da807cad8f6e7
[BUGFIX] Side effects from LocalConfiguration in acceptance tests

The functional tests and acceptance test setup is designed to fetch
database settings from a LocalConfiguration if they are not hand
over as environment variables.
The patch restricts the array to use only sub parts from 'DB' of
LocalConfiguration and not more since otherwise funny side effects
are introduced.
This issue was introduced in master (not 7.6) when the test
bootstrap was refactored and prepared for the acceptance tests.

Change-Id: I4c7721ec52747a5d4e1163fb74a1eb38f4e2be94
Resolves: #78288
Releases: master
Reviewed-on: https://review.typo3.org/50219
Reviewed-by: Michael Knabe <typo3-2015@mfkhh.de>
Tested-by: Michael Knabe <typo3-2015@mfkhh.de>
Reviewed-by: Kemal Emre <k.emre@reply.de>
Tested-by: Kemal Emre <k.emre@reply.de>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Susanne Moog <susanne.moog@typo3.org>
Tested-by: Susanne Moog <susanne.moog@typo3.org>
Reviewed-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
Tested-by: Anja Leichsenring <aleichsenring@ab-softlab.de>
typo3/sysext/core/Classes/Tests/FunctionalTestCase.php
typo3/sysext/core/Classes/Tests/Testbase.php
typo3/sysext/core/Tests/AcceptanceCoreEnvironment.php