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 committed Mar 20, 2024
1 parent 5c02c55 commit 4c6aaa3
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 4c6aaa3

Please sign in to comment.