Skip to content

Commit

Permalink
Added response test for KeyNode
Browse files Browse the repository at this point in the history
  • Loading branch information
daveshanley committed Jun 7, 2024
1 parent 866f218 commit 20b26e8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions datamodel/low/v3/response_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ default:
ok := n.FindResponseByCode("200")
assert.NotNil(t, ok.Value)
assert.Equal(t, "some response", ok.Value.Description.Value)
assert.NotNil(t, ok.Value.GetKeyNode())

var xGut string
_ = ok.Value.FindExtension("x-gut").Value.Decode(&xGut)
Expand Down

0 comments on commit 20b26e8

Please sign in to comment.