adjust test so values are like from a json payload

This commit is contained in:
Sam Woodard 2018-10-05 07:27:18 -07:00
parent 87c6b8e5b5
commit ab24913148
1 changed files with 4 additions and 4 deletions

View File

@ -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",
}, },
}, },
} }