Skip to content

Commit

Permalink
Fix test assertion due to change in DerivedFieldMapper CONTENT_TYPE
Browse files Browse the repository at this point in the history
Signed-off-by: Mohammad Qureshi <[email protected]>
  • Loading branch information
qreshi authored and rishabhmaurya committed Mar 22, 2024
1 parent f4b8f06 commit 4f081d9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public void testFieldInDerivedAndProperties() throws IOException {
// If it didn't fail here, it would hit the MapperParsingException for the field being defined more than once
// when MappingLookup is initialized
assertEquals(
"Failed to parse mapping [_doc]: mapper [field] cannot be changed from type [derived_field] to [keyword]",
"Failed to parse mapping [_doc]: mapper [field] cannot be changed from type [derived] to [keyword]",
ex.getMessage()
);
}
Expand Down

0 comments on commit 4f081d9

Please sign in to comment.