Skip to content
This repository was archived by the owner on Sep 4, 2025. It is now read-only.

Commit ab24913

Browse files
committed
adjust test so values are like from a json payload
1 parent 87c6b8e commit ab24913

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

request_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -778,12 +778,12 @@ func TestUnmarshalCustomTypeAttributes(t *testing.T) {
778778
"type": "customtypes",
779779
"id": "1",
780780
"attributes": map[string]interface{}{
781-
"int": customInt,
782-
"intptr": &customInt,
781+
"int": 5,
782+
"intptr": 5,
783783
"intptrnull": nil,
784784

785-
"float": customFloat,
786-
"string": customString,
785+
"float": 1.5,
786+
"string": "Test",
787787
},
788788
},
789789
}

0 commit comments

Comments
 (0)