[feature/migrations] Fix failing tests

PHPBB3-11318