Skip to content

Commit 464e526

Browse files
committed
Cleanup unused code
1 parent 0575d88 commit 464e526

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/Tests/TestValueHelper.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// Licensed to Elasticsearch B.V under one or more agreements.
1+
// Licensed to Elasticsearch B.V under one or more agreements.
22
// Elasticsearch B.V licenses this file to you under the Apache 2.0 License.
33
// See the LICENSE file in the project root for more information
44

@@ -13,8 +13,6 @@ public static class TestValueHelper
1313

1414
public static DateTime FixedDate { get; } = new DateTime(2015, 06, 06, 12, 01, 02, 123);
1515

16-
public static string PercolatorType => InRange("<5.0.0-alpha1") ? ".percolator" : "query";
17-
1816
private static bool InRange(string range) => TestConfiguration.Instance.ElasticsearchVersion.InRange(range);
1917

2018
public static object Dependant(object builtin, object source) => TestConfiguration.Instance.Random.SourceSerializer ? source : builtin;

0 commit comments

Comments
 (0)