From 596fd1b654091d77fe5a9268d38edbde73a7186b Mon Sep 17 00:00:00 2001 From: Thomas Farr Date: Wed, 14 Sep 2022 13:33:39 +1200 Subject: [PATCH] Fix GithubIssue2306 reproduce Signed-off-by: Thomas Farr --- tests/Tests.Reproduce/GithubIssue2306.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Tests.Reproduce/GithubIssue2306.cs b/tests/Tests.Reproduce/GithubIssue2306.cs index 8d1c45f1d6..37220301e0 100644 --- a/tests/Tests.Reproduce/GithubIssue2306.cs +++ b/tests/Tests.Reproduce/GithubIssue2306.cs @@ -51,7 +51,7 @@ public void DeleteNonExistentDocumentReturnsNotFound() response.Result.Should().Be(Result.NotFound); response.Index.Should().Be("project"); if (_cluster.ClusterConfiguration.Version < "2.0.0") - response.Type.Should().Be("doc"); + response.Type.Should().Be("_doc"); response.Id.Should().Be("non-existent-id"); } }