Skip to content

Commit 4c06cd6

Browse files
authored
Fix SearchTemplateApiTests error reason (#4495)
1 parent 158038f commit 4c06cd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Tests/Search/SearchTemplate/SearchTemplateApiTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ protected override LazyResponses ClientUsage() => Calls(
104104
protected override void ExpectResponse(ISearchResponse<Project> response)
105105
{
106106
response.ServerError.Should().NotBeNull();
107-
if (TestConfiguration.Instance.ElasticsearchVersion <= "7.6.0")
107+
if (TestConfiguration.Instance.ElasticsearchVersion < "7.7.0")
108108
response.ServerError.Error.Reason.Should().Contain("no [query]");
109109
else
110110
response.ServerError.Error.Reason.Should().Contain("unknown query [atch]");

0 commit comments

Comments
 (0)