[BUGFIX] Adapt tests concerning fluid viewhelpers 74/59474/6
authorAnja Leichsenring <aleichsenring@ab-softlab.de>
Fri, 18 Jan 2019 10:13:34 +0000 (11:13 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 18 Jan 2019 15:15:42 +0000 (16:15 +0100)
commit2964b3e5c93cb5a6459515436fc3fe78eb5e374d
tree6e41e785b0bfbbb7c072405fd9d8df0f366306b9
parent235eda94cfe17b36ba63495a92a53086cb874e7a
[BUGFIX] Adapt tests concerning fluid viewhelpers

Since the release of fluid 2.6.0 unit tests fail due to
changed calling sequence. The unit tests use mocked calls
to keep track of internal sequence.
Using the prophecy mock framework gives better control and fixes
the issue for now.

Resolves: #87474
Releases: master, 9.5
Change-Id: I371ae8c7793ae74ecc827696cbbb97c30b3862f8
Reviewed-on: https://review.typo3.org/59474
Tested-by: TYPO3com <noreply@typo3.com>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/HiddenViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/PasswordViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/Select/OptionViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SelectViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/SubmitViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/TextareaViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Form/UploadViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/EmailViewHelperTest.php
typo3/sysext/fluid/Tests/Unit/ViewHelpers/Link/ExternalViewHelperTest.php