[ticket/11850] Fix tests

PHPBB3-11850