Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
kumuwu committed Jan 9, 2025
1 parent de5f800 commit 1f0dcaa
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public void testMapperForNonTemporalDelta() throws Exception
Assert.assertTrue(componentIngestMode instanceof NontemporalDelta);

NontemporalDelta nontemporalDelta = (NontemporalDelta) componentIngestMode;
Assert.assertEquals("DIGEST", nontemporalDelta.digestField());
Assert.assertEquals("DIGEST", nontemporalDelta.digestField().get());
Assert.assertTrue(nontemporalDelta.auditing() instanceof NoAuditing);
Assert.assertTrue(nontemporalDelta.mergeStrategy() instanceof NoDeletesMergeStrategy);

Expand All @@ -148,7 +148,7 @@ public void testMapperForNonTemporalDelta() throws Exception
Assert.assertTrue(componentIngestMode instanceof NontemporalDelta);

nontemporalDelta = (NontemporalDelta) componentIngestMode;
Assert.assertEquals("DIGEST", nontemporalDelta.digestField());
Assert.assertEquals("DIGEST", nontemporalDelta.digestField().get());
Assert.assertTrue(nontemporalDelta.auditing() instanceof NoAuditing);
Assert.assertTrue(nontemporalDelta.mergeStrategy() instanceof DeleteIndicatorMergeStrategy);

Expand All @@ -158,7 +158,7 @@ public void testMapperForNonTemporalDelta() throws Exception
Assert.assertTrue(componentIngestMode instanceof NontemporalDelta);

nontemporalDelta = (NontemporalDelta) componentIngestMode;
Assert.assertEquals("DIGEST", nontemporalDelta.digestField());
Assert.assertEquals("DIGEST", nontemporalDelta.digestField().get());
Assert.assertTrue(nontemporalDelta.auditing() instanceof DateTimeAuditing);
Assert.assertTrue(nontemporalDelta.mergeStrategy() instanceof NoDeletesMergeStrategy);

Expand All @@ -168,7 +168,7 @@ public void testMapperForNonTemporalDelta() throws Exception
Assert.assertTrue(componentIngestMode instanceof NontemporalDelta);

nontemporalDelta = (NontemporalDelta) componentIngestMode;
Assert.assertEquals("DIGEST", nontemporalDelta.digestField());
Assert.assertEquals("DIGEST", nontemporalDelta.digestField().get());
Assert.assertTrue(nontemporalDelta.auditing() instanceof DateTimeAuditing);
Assert.assertTrue(nontemporalDelta.mergeStrategy() instanceof DeleteIndicatorMergeStrategy);
}
Expand Down

0 comments on commit 1f0dcaa

Please sign in to comment.