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 9f48d8c commit bc064d5Copy full SHA for bc064d5
src/Tests/Search/MultiSearch/MultiSearchInvalidApiTests.cs
@@ -77,8 +77,9 @@ [I] public Task AssertResponse() => AssertOnAllResponses(r =>
77
private void AssertInvalidResponse(IResponse searchResponse)
78
{
79
searchResponse.ShouldNotBeValid();
80
+
81
searchResponse.ServerError.Should().NotBeNull();
- searchResponse.ServerError.Status.Should().Be(-1);
82
+ searchResponse.ServerError.Status.Should().Be(404);
83
searchResponse.ServerError.Error.Should().NotBeNull();
84
searchResponse.ServerError.Error.Type.Should().Be("index_not_found_exception");
85
searchResponse.ServerError.Error.Reason.Should().Be("no such index");
0 commit comments