We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f1fc39 commit 24d1495Copy full SHA for 24d1495
tests/Tests/AsyncSearch/AsyncSearchApiTests.cs
@@ -131,11 +131,10 @@ public async Task AsyncSearchStatusResponse() => await Assert<AsyncSearchStatusR
131
r.StartTime.Should().BeOnOrBefore(DateTimeOffset.Now);
132
r.ExpirationTime.Should().BeOnOrAfter(DateTimeOffset.Now);
133
134
- // TODO - Fix PR pending to make the int nullable.
135
- //if (r.IsRunning)
136
- // r.CompletionStatus.HasValue.Should().BeFalse();
137
- //else
138
- // r.CompletionStatus?.Should().Be(200);
+ if (r.IsRunning)
+ r.CompletionStatus.HasValue.Should().BeFalse();
+ else
+ r.CompletionStatus?.Should().Be(200);
139
140
r.Shards.Total.Should().BeGreaterOrEqualTo(1);
141
});
0 commit comments