Bug #60549
closed
Get GeneralUtility::getIndpEnv in ContentObjectRenderer mockable
Added by Sascha Egerer about 10 years ago.
Updated almost 5 years ago.
Description
There are several calls to GeneralUtility::getIndpEnv() in the ContentObjectRenderer. These calls can not be mocked which prevents clean unit tests.
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31788
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31792
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
This change now actually makes it possible to simulate environment variables for e.g. creating frontent URIs with the Extbase UriBuilder
in backend/CLI, see #58702.
- Status changed from Resolved to Closed
- Status changed from Closed to Under Review
- Status changed from Under Review to Closed
Also available in: Atom
PDF