Review main Merged

71472[BUGFIX] Incomplete setup in TcaCategoryTest

Christian Kuhn CR +2 V +2 Easy +6 −0 updated 10/06/21, 19:57

Commit message

Some tests trigger access to $result['rootline'] and
$result['site']. In normal usages, those are set up by
the FormEngine $result defaults, which is not applied
if calling a data provider directly as done with the
functional test in question. Solution in to set the
values to defaults within tests.
This fixes a currently suppressed PHP 8.0 warning for
functional tests.

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