[BUGFIX] Incomplete setup in ImageViewHelperTest
* Arguments with default values are registered with their default values in fluid by default. Tests that circumvent argument initialization by setting them directly must set them. The patch adds this for the "exception" tests in ImageViewHelperTest. * The main tests of ImageViewHelperTest run in backend scope. The FAL logic triggers StoragePermissionsAspect in this scope, which needs a $GLOBALS['BE_USER'], but that is not set up by the tests. The patch initializes a backend user. Change-Id: I91280cf869bf4609c20387132d076267e54b9b7a Resolves: #95531 Releases: master Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/71493 Tested-by:core-ci <typo3@b13.com> Tested-by:
Wouter Wolters <typo3@wouterwolters.nl> Tested-by:
Nikita Hovratov <nikita.h@live.de> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Wouter Wolters <typo3@wouterwolters.nl> Reviewed-by:
Nikita Hovratov <nikita.h@live.de> Reviewed-by:
Christian Kuhn <lolli@schwarzbu.ch>
Please register or sign in to comment