Skip to content

Commit 03e1461

Browse files
authored
Unknow query now returns a different error (#4364)
Update our tests to reflect this
1 parent 40ffb38 commit 03e1461

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Tests/Search/SearchTemplate/SearchTemplateApiTests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ protected override LazyResponses ClientUsage() => Calls(
103103
protected override void ExpectResponse(ISearchResponse<Project> response)
104104
{
105105
response.ServerError.Should().NotBeNull();
106-
response.ServerError.Error.Reason.Should().Contain("no [query]");
106+
response.ServerError.Error.Reason.Should().Contain("unknown query [atch]");
107107
}
108108
}
109109
}

0 commit comments

Comments
 (0)