Fix mapping definitions.

Original commit: elastic/x-pack-elasticsearch@609f12602e
This commit is contained in:
Adrien Grand 2016-01-27 09:25:41 +01:00
parent 4586ca2e06
commit 11125797bc
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ public class FieldLevelSecurityTests extends ShieldIntegTestCase {
public void testFields() throws Exception {
assertAcked(client().admin().indices().prepareCreate("test")
.addMapping("type1", "field1", "type=string,store=yes", "field2", "type=string,store=yes")
.addMapping("type1", "field1", "type=string,store=true", "field2", "type=string,store=true")
);
client().prepareIndex("test", "type1", "1").setSource("field1", "value1", "field2", "value2")
.setRefresh(true)