[ticket/12288] Fix tests

PHPBB3-12288