[BUGFIX] Fix frontend unit tests if executed standalone 60/30560/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 4 Jun 2014 14:23:07 +0000 (16:23 +0200)
committerMarkus Klein <klein.t3@mfc-linz.at>
Wed, 4 Jun 2014 16:16:03 +0000 (18:16 +0200)
commit15c261403904be352986862449a8dd3ad4bb78f7
tree697fae4cab030cf47a21f91ddeec7c03634a2e2e
parent13104c3e7bd0d38c9d68db8acb21115f94221221
[BUGFIX] Fix frontend unit tests if executed standalone

* Allow HTTP_HOST access for all unit tests
* Remove allow all in data provider

The latter implicitly caused a global allow, as PHPUint parses
all data providers before any test is run, thus setting globals there
will cause them to be preserved (and restored when backup globals is true).

Releases: 6.2, 6.1, 6.0
Resolves: #59343
Change-Id: I646294bb472027e22d6edc0622068698fe9a88fc
Reviewed-on: https://review.typo3.org/30560
Reviewed-by: Marc Bastian Heinrichs
Tested-by: Marc Bastian Heinrichs
Reviewed-by: Markus Klein
Tested-by: Markus Klein
typo3/sysext/core/Build/UnitTestsBootstrap.php
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php