add unit tests for oidc.IntrospectionResponse
- Changed UserInfoAddress to pointer in UserInfo and IntrospectionResponse. This was needed to make omitempty work correctly. - Copy or merge maps in IntrospectionResponse GetUserInfo and SetUserInfo
This commit is contained in:
parent
3940b520a8
commit
72a108a33b
8 changed files with 99 additions and 14 deletions
|
@ -96,7 +96,7 @@ var (
|
|||
PhoneNumber: "+1234567890",
|
||||
PhoneNumberVerified: true,
|
||||
},
|
||||
Address: UserInfoAddress{
|
||||
Address: &UserInfoAddress{
|
||||
Formatted: "Sesame street 666\n666-666, Smallvile\nMoon",
|
||||
StreetAddress: "Sesame street 666",
|
||||
Locality: "Smallvile",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue