[ticket/12620] Fix functional tests

PHPBB3-12620