[ticket/12613] Fix tests

PHPBB3-12613