[BUGFIX] Do not load LocalConfiguration in unit test bootstrap 91/28491/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 18 Mar 2014 12:28:36 +0000 (13:28 +0100)
committerMarkus Klein <klein.t3@mfc-linz.at>
Sat, 22 Mar 2014 20:16:14 +0000 (21:16 +0100)
commitca9c89c276557ddfba0bc144029c6c57db180de6
tree49b85515bebe00c6e13fc734f9879257963e55a2
parentc0655d67cffcea2877b43c7a84c1bf44978eac61
[BUGFIX] Do not load LocalConfiguration in unit test bootstrap

The patch removes loadConfigurationAndInitialize() from unit test
bootstrap and substitutes it with some more fine grained bootstrap
calls. In effect, the instance specific LocalConfiguration.php is
no longer loaded and removes another depencency from unit tests
to the instance.

Change-Id: Ia6591fe8d40d530558a514832c8d649c46b4ccc9
Resolves: #57035
Related: #51436
Releases: 6.2
Reviewed-on: https://review.typo3.org/28491
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Build/UnitTestsBootstrap.php
typo3/sysext/core/Classes/Core/Bootstrap.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php
typo3/sysext/extbase/Tests/Unit/Security/Cryptography/HashServiceTest.php