Skip to content

Commit

Permalink
LPD-34667 Consider evaluating properly integer-string convertion
Browse files Browse the repository at this point in the history
  • Loading branch information
rijema authored and brianchandotcom committed Aug 29, 2024
1 parent a2a0eb5 commit e5247bf
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,17 @@ public void testAddObjectEntry() throws Exception {

_assertCount(7);

_addObjectEntry(
HashMapBuilder.<String, Serializable>put(
"emailAddressRequired", "[email protected]"
).put(
"listTypeEntryKeyRequired", "listTypeEntryKey1"
).put(
"numberOfBooksWritten", "01"
).build());

_assertCount(8);

AssertUtils.assertFailure(
ObjectEntryValuesException.ExceedsIntegerSize.class,
"Object entry value exceeds integer field allowed size",
Expand Down

0 comments on commit e5247bf

Please sign in to comment.