[BUGFIX] Broken unit tests

Change-Id: Iebc2074f70f2e8c0199450cf3780ae2f06c6b2d7
Fixes: #54733
Reviewed-on: https://review.typo3.org/26632
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers