[ticket/12151] Remove old dependency from profile type in tests

PHPBB3-12151
Merge pull request #1989 from nickvergessen/ticket/12151

[ticket/12151] Remove old dependency from profile type in tests