[BUGFIX] Fix Unit Tests

This is a quick "fix" to get the Unit Tests running.

Change-Id: Iaf11375eaf85a62e0d52892b46420743221f8881
Releases: 2.0.0
Resolves: #54662
Reviewed-on: https://review.typo3.org/26590
Reviewed-by: Fabien Udriot
Tested-by: Fabien Udriot