forked from Mirrors/jsonapi
adjust test so values are like from a json payload
This commit is contained in:
parent
87c6b8e5b5
commit
ab24913148
|
@ -778,12 +778,12 @@ func TestUnmarshalCustomTypeAttributes(t *testing.T) {
|
|||
"type": "customtypes",
|
||||
"id": "1",
|
||||
"attributes": map[string]interface{}{
|
||||
"int": customInt,
|
||||
"intptr": &customInt,
|
||||
"int": 5,
|
||||
"intptr": 5,
|
||||
"intptrnull": nil,
|
||||
|
||||
"float": customFloat,
|
||||
"string": customString,
|
||||
"float": 1.5,
|
||||
"string": "Test",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue