feat(users): add profile fields to the User struct

What

Adds Discord, GitHub, Pronouns, WorkInformation, LocalTime, CommitEmail and PreferredLanguage to User. All are response only strings.

Tests

  • TestGetUser_ProfileFields decodes the new fields from a fixture.
  • Updated expectations in TestCreatedBy, TestGetUserAdmin and the enterprise users tests: their fixtures already contained commit_email, which is now decoded.

Closes #2315 (closed)

GitLab API docs: https://docs.gitlab.com/api/users/

Merge request reports

Loading
Loading