From 142e37e5c9cba87f11343b364631502a7beb296a Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Wed, 18 Oct 2023 17:18:13 +1300 Subject: [PATCH] :facepalm: Signed-off-by: Thomas Farr --- tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs b/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs index 2752998425..a46b8e93c7 100644 --- a/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs +++ b/tests/Tests/Search/PointInTime/PointInTimeIntegrationTests.cs @@ -74,11 +74,10 @@ [I] public async Task PointInTimeQuery() liveSearch.Total.Should().Be(20); var pitSearch = await client.SearchAsync(s => s - .Index(index) .Query(q => q.MatchAll()) .PointInTime(pitResp.PitId) .TrackTotalHits()); - Console.WriteLine("PIT SEARCH: " + liveSearch.DebugInformation); + Console.WriteLine("PIT SEARCH: " + pitSearch.DebugInformation); pitSearch.ShouldBeValid(); pitSearch.Total.Should().Be(10); pitSearch.Documents.Should().AllSatisfy(d => d.Id.Should().BeLessThan(10));