From ab16ec96490075579f2536e9b9c2e9b0e23f2f8a Mon Sep 17 00:00:00 2001 From: Dave Shanley Date: Sun, 16 Jul 2023 10:41:35 -0400 Subject: [PATCH] Changed test to be open config loading files needs an open config. Signed-off-by: Dave Shanley --- datamodel/low/extraction_functions_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datamodel/low/extraction_functions_test.go b/datamodel/low/extraction_functions_test.go index 2397201d..57ae5c48 100644 --- a/datamodel/low/extraction_functions_test.go +++ b/datamodel/low/extraction_functions_test.go @@ -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)