Skip to content

Commit

Permalink
fixed unit test
Browse files Browse the repository at this point in the history
Signed-off-by: Petar Dzepina <[email protected]>
  • Loading branch information
petardz committed Jan 6, 2023
1 parent 1c474b2 commit 1626aa8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ public void testValidateIndexMappingsEmptyMappings() throws IOException {
mappings.put("my_index", mappingMetadata);

IllegalArgumentException e = assertThrows(IllegalArgumentException.class, () -> MapperUtils.validateIndexMappings("my_index", mappingMetadata, MapperTopicStore.aliasMappings("test123")));
assertTrue(e.getMessage().contains("Index mappings are empty"));
assertTrue(e.getMessage().contains("Mappings for index [my_index] are empty"));
}

public void testValidateIndexMappingsNoMissing() throws IOException {
Expand Down

0 comments on commit 1626aa8

Please sign in to comment.