Review main Merged

71493[BUGFIX] Incomplete setup in ImageViewHelperTest

Christian Kuhn CR +2 V +2 Easy +5 −4 updated 10/07/21, 19:27

Commit message

* 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.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1