[BUGFIX] EM unit test is broken

Follow-up: #50441
Releases: 6.2
Change-Id: I008a3b08ff84b050118d9b37adc6e61e9ddd9279
Reviewed-on: https://review.typo3.org/22686
Reviewed-by: Anja Leichsenring
Tested-by: Anja Leichsenring
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader