Skip to content

Commit 89f9e5d

Browse files
committed
Update KeywordPropertyTests to remove unneeded index creation
(cherry picked from commit 64bf26c)
1 parent afc241c commit 89f9e5d

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;
@@ -108,16 +107,6 @@ public class KeywordPropertySplitQueriesOnWhitespaceTests : PropertyTestsBase
108107
{
109108
public KeywordPropertySplitQueriesOnWhitespaceTests(WritableCluster cluster, EndpointUsage usage) : base(cluster, usage) { }
110109

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

0 commit comments

Comments
 (0)