Skip to content

Commit 64bf26c

Browse files
committed
Update KeywordPropertyTests to remove unneeded index creation
1 parent d03dacc commit 64bf26c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/Tests/Tests/Mapping/Types/Core/Keyword/KeywordPropertyTests.cs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
using Elastic.Xunit.XunitPlumbing;
33
using Nest;
44
using Tests.Analysis;
5-
using Tests.Analysis.Tokenizers;
65
using Tests.Core.ManagedElasticsearch.Clusters;
76
using Tests.Domain;
87
using Tests.Framework.Integration;
@@ -107,16 +106,6 @@ public class KeywordPropertySplitQueriesOnWhitespaceTests : PropertyTestsBase
107106
{
108107
public KeywordPropertySplitQueriesOnWhitespaceTests(WritableCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
109108

110-
protected override ICreateIndexRequest CreateIndexSettings(CreateIndexDescriptor create) => create
111-
.Settings(s => s
112-
.Analysis(a => a
113-
.CharFilters(t => Promise(Analysis.CharFilters.CharFilterUsageTests.FluentExample(s).Value.Analysis.CharFilters))
114-
.TokenFilters(
115-
t => Promise(Analysis.TokenFilters.TokenFilterUsageTests.FluentExample(s).Value.Analysis.TokenFilters))
116-
.Normalizers(t => Promise(Analysis.Normalizers.NormalizerUsageTests.FluentExample(s).Value.Analysis.Normalizers))
117-
)
118-
);
119-
120109
protected override object ExpectJson => new
121110
{
122111
properties = new

0 commit comments

Comments
 (0)