mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-11 04:20:24 +00:00
Fixed broken test after adding additional security def.
This commit is contained in:
@@ -52,7 +52,7 @@ func TestCreateDocument(t *testing.T) {
|
||||
assert.Len(t, doc.Tags.Value, 3)
|
||||
assert.Len(t, doc.Schemes.Value, 2)
|
||||
assert.Len(t, doc.Definitions.Value.Schemas, 6)
|
||||
assert.Len(t, doc.SecurityDefinitions.Value.Definitions, 2)
|
||||
assert.Len(t, doc.SecurityDefinitions.Value.Definitions, 3)
|
||||
assert.Len(t, doc.Paths.Value.PathItems, 15)
|
||||
assert.Len(t, doc.Responses.Value.Definitions, 2)
|
||||
assert.Equal(t, "http://swagger.io", doc.ExternalDocs.Value.URL.Value)
|
||||
|
||||
Reference in New Issue
Block a user