Fix TemplateUtilsTests

The template has changed on disk so we have to change the assertion.

Original commit: elastic/x-pack-elasticsearch@cc9b76fcf6
This commit is contained in:
Nik Everett 2016-11-10 21:51:06 -05:00
parent 700467c3a7
commit f15b8c94e4
1 changed files with 2 additions and 2 deletions

View File

@ -34,7 +34,7 @@ public class TemplateUtilsTests extends ESTestCase {
assertThat(source, notNullValue());
assertThat(source.length(), greaterThan(0));
assertTemplate(source, equalTo("{\n" +
" \"template\": \".monitoring-data-" + version + "\",\n" +
" \"index_patterns\": \".monitoring-data-" + version + "\",\n" +
" \"mappings\": {\n" +
" \"type_1\": {\n" +
" \"_meta\": {\n" +
@ -42,7 +42,7 @@ public class TemplateUtilsTests extends ESTestCase {
" }\n" +
" }\n" +
" }\n" +
"}"));
"}\n"));
}
public void testLoad() throws IOException {