[ticket/13034] Fix tests

PHPBB3-13034