[ticket/11386] Fix failing tests from constructor changes

PHPBB3-11386