mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-09 20:47:44 +00:00
Changed test to be open config
loading files needs an open config. Signed-off-by: Dave Shanley <dave@quobix.com>
This commit is contained in:
@@ -1591,7 +1591,7 @@ func TestLocateRefNode_RemoteFile(t *testing.T) {
|
||||
var idxNode yaml.Node
|
||||
mErr := yaml.Unmarshal([]byte(ymlFile), &idxNode) // an empty index.
|
||||
assert.NoError(t, mErr)
|
||||
idx := index.NewSpecIndexWithConfig(&idxNode, index.CreateClosedAPIIndexConfig())
|
||||
idx := index.NewSpecIndexWithConfig(&idxNode, index.CreateOpenAPIIndexConfig())
|
||||
|
||||
var cNode yaml.Node
|
||||
e := yaml.Unmarshal([]byte(ymlLocal), &cNode)
|
||||
|
||||
Reference in New Issue
Block a user