Skip to content

Commit

Permalink
fix test expectations with search removed from cached endpoint #9
Browse files Browse the repository at this point in the history
  • Loading branch information
tomzo committed Feb 13, 2019
1 parent 9d38974 commit 3c9d061
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions tests/LiGet.Tests/NuGetClientIntegrationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ public class NuGetClientIntegrationTest : IDisposable
new object[] { CacheIndex },
new object[] { CompatCacheIndex },
};
public static IEnumerable<object[]> V3CasesExcludingCache = new[] {
new object[] { MainIndex },
new object[] { CompatIndex },
};
public static IEnumerable<object[]> V2Cases = new[] {
new object[] { V2Index },
new object[] { CompatV2Index }
Expand Down Expand Up @@ -137,7 +141,7 @@ public async Task V2IndexResourceReturnsODataServiceDocument(string indexEndpoin
}

[Theory]
[MemberData(nameof(V3Cases))]
[MemberData(nameof(V3CasesExcludingCache))]
public async Task IndexIncludesAtLeastOneSearchQueryEntry(string indexEndpoint)
{
InitializeClient(indexEndpoint);
Expand All @@ -164,7 +168,7 @@ public async Task IndexIncludesAtLeastOnePackageBaseAddressEntry(string indexEnd
}

[Theory]
[MemberData(nameof(V3Cases))]
[MemberData(nameof(V3CasesExcludingCache))]
public async Task IndexIncludesAtLeastOneSearchAutocompleteServiceEntry(string indexEndpoint)
{
InitializeClient(indexEndpoint);
Expand Down

0 comments on commit 3c9d061

Please sign in to comment.