fix: Update tests where appropriate

This commit is contained in:
Benjamin Nolan (TwoWholeWorms)
2023-01-07 08:33:54 +01:00
committed by Dave Shanley
parent 1f2709fef3
commit 5f9541283a
8 changed files with 1261 additions and 1147 deletions

View File

@@ -1154,10 +1154,15 @@ func TestExtractSchema_CheckChildPropCircular(t *testing.T) {
properties:
nothing:
$ref: '#/components/schemas/Nothing'
required:
- nothing
Nothing:
properties:
something:
$ref: '#/components/schemas/Something'`
$ref: '#/components/schemas/Something'
required:
- something
`
var iNode yaml.Node
mErr := yaml.Unmarshal([]byte(yml), &iNode)