diff --git a/pom.xml b/pom.xml index fff14853a..82e6b584c 100644 --- a/pom.xml +++ b/pom.xml @@ -176,6 +176,15 @@ org.apache.maven.plugins maven-surefire-plugin + + + + com.fasterxml.jackson.module.kotlin.** + + diff --git a/release-notes/CREDITS-2.x b/release-notes/CREDITS-2.x index 63110ae29..596e12d42 100644 --- a/release-notes/CREDITS-2.x +++ b/release-notes/CREDITS-2.x @@ -15,6 +15,11 @@ Authors: Contributors: +# 2.18.3 (not yet released) + +WrongWrong (@k163377) +* #900: Fixed an issue where some tests were not running + # 2.18.0 (26-Sep-2024) WrongWrong (@k163377) diff --git a/src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/GitHub625.kt b/src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/GitHub625.kt index 969b1d867..e91827873 100644 --- a/src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/GitHub625.kt +++ b/src/test/kotlin/com/fasterxml/jackson/module/kotlin/test/github/GitHub625.kt @@ -48,26 +48,9 @@ class GitHub625 { @Test fun failing() { - val writer = jacksonObjectMapper().testPrettyWriter() + val writer = jacksonObjectMapper() val json = writer.writeValueAsString(FailingDto()) - assertNotEquals("{ }", json) - assertEquals( - """ - { - "nullableObject1" : null, - "nullableObject2" : null, - "map" : { - "nullableObject" : null - }, - "mapGetter" : { - "nullableObject" : null - }, - "nullableObjectGetter2" : null, - "nullableObjectGetter1" : null - } - """.trimIndent(), - json - ) + assertNotEquals("{}", json) } }