[ticket/11768] Fixing bad merge

PHPBB3-11768
[ticket/11768] Fixed services.yml + legacy test

PHPBB3-11768