[ticket/12738] Fix tests with new config object injection

PHPBB3-12738