Skip to content

Commit

Permalink
moar test
Browse files Browse the repository at this point in the history
  • Loading branch information
romseygeek committed Oct 7, 2020
1 parent e885cea commit 7734125
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ public void testCombineTemplates() throws Exception{
.startObject("field2").field("type", "text").field("analyzer", "custom_1").endObject()
.endObject().endObject().endObject())
.get());
assertThat(e.getMessage(), containsString("analyzer [custom_1] not found for field [field2]"));
assertThat(e.getMessage(), containsString("analyzer [custom_1] has not been configured in mappings"));

response = client().admin().indices().prepareGetTemplates().get();
assertThat(response.getIndexTemplates(), hasSize(1));
Expand Down

0 comments on commit 7734125

Please sign in to comment.