diff --git a/pom.xml b/pom.xml index 8ae516ffe..2c241d74b 100644 --- a/pom.xml +++ b/pom.xml @@ -170,6 +170,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 f5ed2f9f1..9ddcfbe62 100644 --- a/release-notes/CREDITS-2.x +++ b/release-notes/CREDITS-2.x @@ -28,6 +28,11 @@ WrongWrong (@k163377) * #839: Remove useKotlinPropertyNameForGetter and unify with kotlinPropertyNameAsImplicitName * #835: Remove old SingletonSupport class and unified with KotlinFeature.SingletonSupport +# 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 559cef378..a03415d05 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) } }