Bug #85082
closedExtbase translation tests don't fulfill expectations
100%
Description
The Extbase TranslationTest should be executed in frontend mode. A mock of the EnvironmentService is infiltrated into the GeneralUtility to be used as singleton instance. Unfortunately the whole setUpBasicFrontendEnvironment method is called after the subject (PostRepository) was initiliazed by the ObjectManager. This early initialization doesn't know the mock and generates its own EnvironmentService singleton instance.
The tests and their expectations don't use the EnvironmentServiceMock and run in another mode (backend).
Updated by Gerrit Code Review over 6 years ago
- Status changed from New to Under Review
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57050
Updated by Gerrit Code Review over 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/57053
Updated by Nicole Cordes over 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0927abdd3a197ff9bf785bdecc8980e14248be3d.