[ticket/11874] Fix tests

PHPBB3-11874