Fixed tests that were using old signature.

Using new function, same old functionality.
This commit is contained in:
Dave Shanley
2023-01-28 13:52:55 -05:00
parent 6d77716c9a
commit 4706365744
2 changed files with 3 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ func FindItemInMap[T any](item string, collection map[KeyReference[string]]Value
// helper function to generate a list of all the things an index should be searched for.
func generateIndexCollection(idx *index.SpecIndex) []func() map[string]*index.Reference {
return []func() map[string]*index.Reference{
idx.GetAllSchemas,
idx.GetAllComponentSchemas,
idx.GetMappedReferences,
idx.GetAllExternalDocuments,
idx.GetAllParameters,