Skip to content

Commit 79765cf

Browse files
Mpdreamzrusscam
authored andcommitted
Search usage tests used wrong http code assertion, probably a dev change leftover (#3924)
1 parent 8f2af7e commit 79765cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Tests/Tests/Search/SearchUsageTestBase.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public abstract class SearchUsageTestBase
2323
protected SearchUsageTestBase(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
2424

2525
protected override bool ExpectIsValid => true;
26-
protected override int ExpectStatusCode => 201;
26+
protected override int ExpectStatusCode => 200;
2727
protected override HttpMethod HttpMethod => HttpMethod.POST;
2828
protected override string UrlPath => "/project/_search";
2929

0 commit comments

Comments
 (0)