[BUGFIX] Incomplete mocks in fluid tests 26/54926/2
authorChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 20:27:59 +0000 (21:27 +0100)
committerChristian Kuhn <lolli@schwarzbu.ch>
Sun, 3 Dec 2017 20:53:24 +0000 (21:53 +0100)
commit1a98b14c8cb93e8c0873c116e1bfbc0638408f0e
treea191d3621fdefadcd20ac241360536a278e0f25f
parent20182ea16b005eb67759f4adcdc3e1dcba530a04
[BUGFIX] Incomplete mocks in fluid tests

Sanitize some view helper unit tests to not trigger
PHP 7.2 warnings count()'ing non-arrays by proper mocking.

Change-Id: I9929a02a03c9218ab73838f4a214165333d414aa
Resolves: #83213
Releases: 7.6
Reviewed-on: https://review.typo3.org/54926
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
typo3/sysext/fluid/Tests/Unit/Core/Parser/SyntaxTree/ViewHelperNodeTest.php
typo3/sysext/fluid/Tests/Unit/Core/ViewHelper/AbstractViewHelperTest.php