From 1df8ce01ca2058aa8ed8cf59842e9a5e5de9352d Mon Sep 17 00:00:00 2001 From: Russ Cam Date: Thu, 6 Feb 2020 16:50:29 +1000 Subject: [PATCH] Delete unused abstract metafields base class --- .../MetafieldsMappingApiTestsBase.cs | 25 ------------------- 1 file changed, 25 deletions(-) delete mode 100644 tests/Tests/Mapping/Metafields/MetafieldsMappingApiTestsBase.cs diff --git a/tests/Tests/Mapping/Metafields/MetafieldsMappingApiTestsBase.cs b/tests/Tests/Mapping/Metafields/MetafieldsMappingApiTestsBase.cs deleted file mode 100644 index af4061bd556..00000000000 --- a/tests/Tests/Mapping/Metafields/MetafieldsMappingApiTestsBase.cs +++ /dev/null @@ -1,25 +0,0 @@ -using Elasticsearch.Net; -using Nest; -using Tests.Core.ManagedElasticsearch.Clusters; -using Tests.Domain; -using Tests.Framework.EndpointTests; -using Tests.Framework.EndpointTests.TestState; - -namespace Tests.Mapping.Metafields -{ - public abstract class MetafieldsMappingApiTestsBase - : ApiTestBase, PutMappingRequest> - { - protected MetafieldsMappingApiTestsBase(ReadOnlyCluster cluster, EndpointUsage usage) : base(cluster, usage) { } - - protected override HttpMethod HttpMethod => HttpMethod.PUT; - protected override string UrlPath => $"/{CallIsolatedValue}/project/_mapping"; - - protected override LazyResponses ClientUsage() => Calls( - (client, f) => client.Map(f), - (client, f) => client.MapAsync(f), - (client, r) => client.Map(r), - (client, r) => client.MapAsync(r) - ); - } -}