Review main Merged

62451[BUGFIX] Use native phpunit functionality in Fluid tests

Benni Mack CR +2 V +2 Normal +157 −37 updated 11/29/19, 10:19

Commit message

Some "methods" used in ViewHelpers to mock a class (RenderingContext)
which only uses a fixture to avoid constructor calls
can be achieved by using phpunit's getMockBuilder() logic
itself, making this class in the testing framework
useless. TYPO3 Core should not depend on this,
but rather use native phpunit logic.

Some other things are moved to the specific classes
where they are needed, so setUp() will be much faster
for other ViewHelper test classes.

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 12