Skip to content

Commit dc04bdd

Browse files
committed
Merge branch '2.19'
2 parents b7ce302 + b0d7a1b commit dc04bdd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/test/java/tools/jackson/databind/jsontype/jdk/TypedArraySerTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,11 @@ static class BeanListWrapper {
7575
/**********************************************************
7676
*/
7777

78-
private final ObjectMapper MAPPER = new ObjectMapper();
78+
// Since one of the tests uses VIEW inclusion, let's specify inclusion
79+
// (as default varies between Jackson 2.x and 3.x)
80+
private final ObjectMapper MAPPER = jsonMapperBuilder()
81+
.enable(MapperFeature.DEFAULT_VIEW_INCLUSION)
82+
.build();
7983

8084
@Test
8185
public void testListWithPolymorphic() throws Exception

0 commit comments

Comments
 (0)