Skip to content

Commit 91f446d

Browse files
committed
Unknow query now returns a different error (#4364)
Update our tests to reflect this (cherry picked from commit 03e1461)
1 parent 222c7aa commit 91f446d

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)