Skip to content

Commit 2ec5850

Browse files
committed
Fix OpaqueId unit tests
1 parent 7898e9c commit 2ec5850

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/Tests/Tests/Search/Search/SearchApiTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -361,12 +361,12 @@ public class OpaqueIdApiTests : ApiIntegrationTestBase<ReadOnlyCluster, IListTas
361361
{
362362
public OpaqueIdApiTests(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
363363

364-
protected override object ExpectJson => new { };
365-
364+
protected override object ExpectJson => null;
365+
protected override bool SupportsDeserialization => false;
366366
protected override int ExpectStatusCode => 200;
367367
protected override bool ExpectIsValid => true;
368-
protected override HttpMethod HttpMethod => HttpMethod.POST;
369-
protected override string UrlPath => $"/project/doc/_search?scroll=10m";
368+
protected override HttpMethod HttpMethod => HttpMethod.GET;
369+
protected override string UrlPath => $"/_tasks?pretty=true&error_trace=true";
370370

371371
protected override Func<ListTasksDescriptor, IListTasksRequest> Fluent => s => s
372372
.RequestConfiguration(r => r.OpaqueId(CallIsolatedValue));

0 commit comments

Comments
 (0)