Skip to content

Commit 74b57eb

Browse files
committed
fix failing unit tests post merge to master
1 parent cf78f2f commit 74b57eb

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

src/Tests/Mapping/Types/Core/String/StringMappingTests.cs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,17 +61,19 @@ public class StringMappingTests : TypeMappingTestBase<StringTest>
6161
{
6262
type = "string"
6363
},
64-
inferred = new
65-
{
66-
type = "string"
64+
inferred = new {
65+
type = "text",
66+
fields = new {
67+
keyword = new { type = "keyword" }
68+
}
6769
},
6870
@char = new
6971
{
70-
type = "string"
72+
type = "keyword"
7173
},
7274
guid = new
7375
{
74-
type = "string"
76+
type = "keyword"
7577
}
7678
}
7779
};

src/Tests/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# mode either u (unit test), i (integration test) or m (mixed mode)
2-
mode: i
2+
mode: u
33
# the elasticsearch version that should be started
44
elasticsearch_version: 5.0.0-alpha1
55
# whether we want to forcefully reseed on the node, if you are starting the tests with a node already running

0 commit comments

Comments
 (0)