[TEST] fixed content type in ML QA tests

Original commit: elastic/x-pack-elasticsearch@b7749e1319
This commit is contained in:
Colin Goodheart-Smithe 2017-03-24 14:08:39 +00:00
parent fd54515ecb
commit caa9afad2b
2 changed files with 2 additions and 2 deletions

View File

@ -293,7 +293,7 @@ public class MlBasicMultiNodeIT extends ESRestTestCase {
xContentBuilder.endObject();
xContentBuilder.startObject("data_description");
xContentBuilder.field("format", "JSON");
xContentBuilder.field("format", "xcontent");
xContentBuilder.field("time_field", "time");
xContentBuilder.field("time_format", "epoch");
xContentBuilder.endObject();

View File

@ -41,7 +41,7 @@ public class MlPluginDisabledIT extends ESRestTestCase {
xContentBuilder.endObject();
xContentBuilder.startObject("data_description");
xContentBuilder.field("format", "JSON");
xContentBuilder.field("format", "xcontent");
xContentBuilder.field("time_field", "time");
xContentBuilder.field("time_format", "epoch");
xContentBuilder.endObject();