[BUGFIX] Tests: Incomplete mocking in ext:frontend 74/28274/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 11 Mar 2014 20:21:42 +0000 (21:21 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 11 Mar 2014 20:57:25 +0000 (21:57 +0100)
commitf61e17edb9ee43a29f410aa99c87fd9827b372f8
tree0efaedfd223be68517c75a44725a5c93ae3bfa8d
parente0fee4ade84fed39d8c6d480f59403612d640c1b
[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
typo3/sysext/core/Build/FunctionalTests.xml
typo3/sysext/frontend/Tests/Functional/ContentObject/FluidTemplateContentObjectTest.php [new file with mode: 0644]
typo3/sysext/frontend/Tests/Unit/ContentObject/FluidTemplateContentObjectTest.php