[ticket/12932] Fix \phpbb\user mocks in tests

PHPBB3-12932
Merge pull request #13 from marc1706/ticket/12932

[ticket/12932] Fix \phpbb\user mocks in tests