Skip to content

Commit d77d88d

Browse files
committed
Fix upgrade API tests
1 parent c9efcb7 commit d77d88d

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/Tests/Indices/StatusManagement/Upgrade/UpgradeApiTests.cs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,6 @@ protected override LazyResponses ClientUsage() => Calls(
2525
protected override bool ExpectIsValid => true;
2626
protected override int ExpectStatusCode => 200;
2727
protected override HttpMethod HttpMethod => HttpMethod.POST;
28-
protected override string UrlPath => $"/{CallIsolatedValue}/_upgrade?allow_no_indices=true";
29-
30-
protected override Func<UpgradeDescriptor, IUpgradeRequest> Fluent => d => d.AllowNoIndices();
31-
32-
protected override UpgradeRequest Initializer => new UpgradeRequest(CallIsolatedValue) { AllowNoIndices = true };
28+
protected override string UrlPath => $"/{CallIsolatedValue}/_upgrade";
3329
}
3430
}

0 commit comments

Comments
 (0)