File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/scala/com/fasterxml/jackson/module/scala/deser Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -13,14 +13,14 @@ class IgnorableFieldDeserializerTest extends DeserializerTest {
1313
1414 lazy val module : JacksonModule = DefaultScalaModule
1515
16- " An ObjectMapper with the DefaultScalaModule" should " fail if field is not expected" in {
16+ " An ObjectMapper with the DefaultScalaModule" should " fail if field is not expected (DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES enabled) " in {
1717 val mapper = newMapper
1818 intercept[UnrecognizedPropertyException ] {
1919 mapper.readValue(genJson(100 ), classOf [ExtractFields ])
2020 }
2121 }
2222
23- it should " succeed if field is not expected" in {
23+ it should " succeed if field is not expected (DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES disabled) " in {
2424 val mapper = newBuilder
2525 .disable(DeserializationFeature .FAIL_ON_UNKNOWN_PROPERTIES )
2626 .build()
You can’t perform that action at this time.
0 commit comments