[BUGFIX] Tests: Incomplete mocking in ext:frontend
Improve the fluid standalone tests by not calling __construct() of a dependency. Additionally, renderWorksWithNestedFluidtemplate() not only tests the standalone view, but also its connection to the content object renderer, so this is more a functional than a unit test. The test is streamlined and moved to the functional test suite. Change-Id: I3ae357de4861395622bc6f70aeed6011c7760cde Resolves: #56788 Related: #51436 Releases: 6.2 Reviewed-on: https://review.typo3.org/28274 Reviewed-by: Wouter Wolters Tested-by: Wouter Wolters Reviewed-by: Christian Kuhn Tested-by: Christian Kuhn
Showing
- typo3/sysext/core/Build/FunctionalTests.xml 3 additions, 0 deletionstypo3/sysext/core/Build/FunctionalTests.xml
- typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php 68 additions, 0 deletions...nctional/ContentObject/FluidTemplateContentObjectTest.php
- typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php 1 addition, 36 deletions...sts/Unit/ContentObject/FluidTemplateContentObjectTest.php
Loading
Please register or sign in to comment