[TASK] Remove wrong datasets in sanitizeLocalUrlValidPathsDataProvider 96/43096/2
authorNicole Cordes <typo3@cordes.co>
Mon, 7 Sep 2015 13:29:01 +0000 (15:29 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Mon, 7 Sep 2015 16:50:06 +0000 (18:50 +0200)
commit9b9e1eefe628f925b15cdea00b2652c1e8ab1e36
tree5f243a9dc3931d9bc99fe26164268babd701237c
parent095b7812849bace033e5cabc5983588eaf98f318
[TASK] Remove wrong datasets in sanitizeLocalUrlValidPathsDataProvider

Within the GeneralUtilityTest::sanitizeLocalUrlValidPathsDataProvider
are still wrong dataset unfortunately. As on Windows systems the
GeneralUtility::getIndpEnv('TYPO3_SITE_URL') results in
http://D:/AbsolutePathToTypo3Installation those test were moved to an
own DataProvider which makes sure the HTTP_HOST and SCRIPT_NAME are set
correctly before calling GeneralUtility::getIndpEnv().

Resolves: #69584
Releases: master, 6.2
Change-Id: I42e5ab3712f82f5cadd51a478769bc5cb184243f
Reviewed-on: http://review.typo3.org/43096
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
typo3/sysext/core/Tests/Unit/Utility/GeneralUtilityTest.php