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",
|
"type": "customtypes",
|
||||||
"id": "1",
|
"id": "1",
|
||||||
"attributes": map[string]interface{}{
|
"attributes": map[string]interface{}{
|
||||||
"int": customInt,
|
"int": 5,
|
||||||
"intptr": &customInt,
|
"intptr": 5,
|
||||||
"intptrnull": nil,
|
"intptrnull": nil,
|
||||||
|
|
||||||
"float": customFloat,
|
"float": 1.5,
|
||||||
"string": customString,
|
"string": "Test",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue