[ticket/12066] Fix unit test errors

PHPBB3-12066