Skip to content

Commit

Permalink
Changed test to be open config
Browse files Browse the repository at this point in the history
loading files needs an open config.

Signed-off-by: Dave Shanley <dave@quobix.com>
  • Loading branch information
daveshanley committed Jul 16, 2023
1 parent 956a04a commit ab16ec9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datamodel/low/extraction_functions_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ab16ec9

Please sign in to comment.