[task/composer-compatibility] Fix tests

PHPBB3-11840