[ticket/11497] Fix tests

PHPBB3-11497