mirror of
https://github.com/LukeHagar/libopenapi.git
synced 2025-12-10 12:37:48 +00:00
Fixed borked test with correct config
Signed-off-by: quobix <dave@quobix.com>
This commit is contained in:
@@ -375,7 +375,7 @@ func TestResolver_DeepJourney(t *testing.T) {
|
|||||||
for f := 0; f < 200; f++ {
|
for f := 0; f < 200; f++ {
|
||||||
journey = append(journey, nil)
|
journey = append(journey, nil)
|
||||||
}
|
}
|
||||||
idx := index.NewSpecIndexWithConfig(nil, nil)
|
idx := index.NewSpecIndexWithConfig(nil, index.CreateClosedAPIIndexConfig())
|
||||||
resolver := NewResolver(idx)
|
resolver := NewResolver(idx)
|
||||||
assert.Nil(t, resolver.extractRelatives(nil, nil, nil, journey, false))
|
assert.Nil(t, resolver.extractRelatives(nil, nil, nil, journey, false))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user