service: access Token message fields through getters and setters

This commit is contained in:
Leonard Lyubich 2020-04-28 18:40:21 +03:00
parent 091f953ebf
commit c6971d2004
6 changed files with 36 additions and 43 deletions

View file

@ -194,7 +194,7 @@ func TestRequestVerificationHeader_SetToken(t *testing.T) {
require.NoError(t, err)
token := new(Token)
token.ID = id
token.SetID(id)
h := new(RequestVerificationHeader)