[ticket/11444] Fix unit tests

PHPBB3-11444