diff --git a/src/Tests/Indices/StatusManagement/ClearCache/ClearCacheApiTests.cs b/src/Tests/Indices/StatusManagement/ClearCache/ClearCacheApiTests.cs index 6310fc33b94..92ef288615b 100644 --- a/src/Tests/Indices/StatusManagement/ClearCache/ClearCacheApiTests.cs +++ b/src/Tests/Indices/StatusManagement/ClearCache/ClearCacheApiTests.cs @@ -23,10 +23,10 @@ protected override LazyResponses ClientUsage() => Calls( protected override bool ExpectIsValid => true; protected override int ExpectStatusCode => 200; protected override HttpMethod HttpMethod => HttpMethod.POST; - protected override string UrlPath => "/_cache/clear?recycler=true"; + protected override string UrlPath => "/_cache/clear?request_cache=true"; - protected override Func Fluent => d => d.Recycler(); + protected override Func Fluent => d => d.RequestCache(); - protected override ClearCacheRequest Initializer => new ClearCacheRequest(AllIndices) { Recycler = true }; + protected override ClearCacheRequest Initializer => new ClearCacheRequest(AllIndices) { RequestCache = true }; } }