[ticket/11700] Fix unit tests after develop merge

PHPBB3-11700