[ticket/11495] Fix failing unit tests

PHPBB3-11495