File tree Expand file tree Collapse file tree 2 files changed +8
-2
lines changed
subprojects/kotlin-json/kogera/src/it/kotlin/org/sdkotlin/springdemo/kotlin/json/jackson Expand file tree Collapse file tree 2 files changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ dependency-analysis-gradle-plugin = "1.22.0"
5
5
equalsverifier = " 3.11.1"
6
6
jetbrains-annotations = " 23.0.0"
7
7
jackson = " 2.15.2"
8
- jackson-kogera = " 2.14 .2-alpha8 "
8
+ jackson-kogera = " 2.15 .2-beta4 "
9
9
jakarta-inject = " 2.0.0"
10
10
junit = " 5.10.0" # Duplicated in unit-test-suite.gradle.kts.
11
11
kotlin = " 1.9.10" # See also `kotlinTargetVersion` in kotlin-project.gradle.kts.
Original file line number Diff line number Diff line change 1
1
package org.sdkotlin.springdemo.kotlin.json.jackson
2
2
3
+ import io.github.projectmapk.jackson.module.kogera.KotlinModule
3
4
import org.assertj.core.api.Assertions.assertThat
4
5
import org.assertj.core.api.ThrowingConsumer
5
6
import org.junit.jupiter.api.Test
6
7
import org.springframework.beans.factory.annotation.Autowired
7
8
import org.springframework.boot.test.autoconfigure.json.JsonTest
8
9
import org.springframework.boot.test.json.JacksonTester
9
10
import org.springframework.boot.test.json.JsonContent
11
+ import org.springframework.context.annotation.Bean
10
12
import org.springframework.context.annotation.Configuration
11
13
12
14
@JsonTest
@@ -18,7 +20,11 @@ internal class JacksonKogeraUnsignedIT(
18
20
) {
19
21
20
22
@Configuration
21
- internal class TestConfig
23
+ internal class TestConfig {
24
+
25
+ @Bean
26
+ fun kotlinModule () = KotlinModule .Builder ().build()
27
+ }
22
28
23
29
@Test
24
30
fun `test signed value serialization` () {
You can’t perform that action at this time.
0 commit comments