diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index a18f50a7..4948b820 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,5 +1,5 @@ [versions] -junit = "5.14.0" +junit = "6.0.0" komapper = "5.6.0" kotlin = "2.2.20" ksp = "2.2.20-2.0.4" diff --git a/repository-pattern-jdbc/src/test/kotlin/org/komapper/example/ExampleRepositoryTest.kt b/repository-pattern-jdbc/src/test/kotlin/org/komapper/example/ExampleRepositoryTest.kt index f0ab36a2..3edba273 100644 --- a/repository-pattern-jdbc/src/test/kotlin/org/komapper/example/ExampleRepositoryTest.kt +++ b/repository-pattern-jdbc/src/test/kotlin/org/komapper/example/ExampleRepositoryTest.kt @@ -156,9 +156,9 @@ class ExampleRepositoryTest : InvocationInterceptor { } override fun interceptTestMethod( - invocation: InvocationInterceptor.Invocation?, - invocationContext: ReflectiveInvocationContext?, - extensionContext: ExtensionContext?, + invocation: InvocationInterceptor.Invocation, + invocationContext: ReflectiveInvocationContext, + extensionContext: ExtensionContext, ) { db.config.session.transactionOperator.required { it.isRollbackOnly()