[ticket/11480-ascraeus] Fix unit tests

PHPBB3-11480-ascraeus