[ticket/12620] Fix tests

PHPBB3-12620