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:
parent
700467c3a7
commit
f15b8c94e4
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue