Skip to content

Commit

Permalink
Merge pull request #5718 from microsoft/andrueastman/intergrationTest…
Browse files Browse the repository at this point in the history
…sFixes

fix intergration tests
  • Loading branch information
andrueastman authored Nov 4, 2024
2 parents 7687116 + bb26b05 commit c05b5cd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public Task<IDictionary<string, SearchResult>> SearchAsync(string term, string?
if (term.Split(termSeparator, StringSplitOptions.RemoveEmptyEntries).Any(Keywords.Contains))
{
return Task.FromResult<IDictionary<string, SearchResult>>(new Dictionary<string, SearchResult> {
{ "petstore", new SearchResult(ApiTitle, ApiDescription, new Uri("https://petstore.swagger.io/v1"), new Uri("https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/examples/v3.0/petstore.yaml"), new List<string> { "1.0.0" }) }
{ "petstore", new SearchResult(ApiTitle, ApiDescription, new Uri("https://petstore.swagger.io/v1"), new Uri("https://raw.githubusercontent.com/OAI/OpenAPI-Specification/main/tests/v3.0/pass/petstore.yaml"), new List<string> { "1.0.0" }) }
});
}
return Task.FromResult<IDictionary<string, SearchResult>>(new Dictionary<string, SearchResult>());
Expand Down

0 comments on commit c05b5cd

Please sign in to comment.