Skip to content

Commit 3eca136

Browse files
authored
Fix failing tests post databind#4858 (#699)
1 parent 08a87ea commit 3eca136

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/test/java/tools/jackson/dataformat/xml/deser/EmptyWithScalarsTest.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,9 @@ static class MiscOther {
4343
public Boolean B = Boolean.TRUE;
4444
}
4545

46-
private final XmlMapper MAPPER = newMapper();
46+
private final XmlMapper MAPPER = mapperBuilder()
47+
.disable(DeserializationFeature.FAIL_ON_NULL_FOR_PRIMITIVES)
48+
.build();
4749

4850
/*
4951
/**********************************************************************

0 commit comments

Comments
 (0)