From bbbd94ba258563f0963df93ede6d40ded6f07cc6 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Fri, 29 May 2026 11:02:32 +0000 Subject: [PATCH 1/2] fix(deps): update kotest to v6 --- gradle/libs.versions.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index f08e67c..ef3861c 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -13,7 +13,7 @@ fory = "1.0.0" datasource = "8.0.11-1836-95c6e774" # Test Dependencies -kotest = "5.9.1" +kotest = "6.1.11" turbine = "1.2.1" mockk = "1.13.14" From 2bebddbbd9d7f9dc1fb3a56ccbe88fbbab7a1da4 Mon Sep 17 00:00:00 2001 From: Ross Anderson Date: Fri, 29 May 2026 12:37:11 +0100 Subject: [PATCH 2/2] test: migrate backgroundScope import for kotest 6 The TestScope.backgroundScope extension moved from io.kotest.core.coroutines to io.kotest.engine.coroutines in kotest 6. --- .../caplin/integration/datasourcex/reactive/kotlin/BindTest.kt | 2 +- .../datasourcex/util/flow/CompletingSharedFlowTest.kt | 2 +- .../com/caplin/integration/datasourcex/util/flow/FlowMapTest.kt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/reactive/kotlin/src/test/kotlin/com/caplin/integration/datasourcex/reactive/kotlin/BindTest.kt b/reactive/kotlin/src/test/kotlin/com/caplin/integration/datasourcex/reactive/kotlin/BindTest.kt index 427b554..4459526 100644 --- a/reactive/kotlin/src/test/kotlin/com/caplin/integration/datasourcex/reactive/kotlin/BindTest.kt +++ b/reactive/kotlin/src/test/kotlin/com/caplin/integration/datasourcex/reactive/kotlin/BindTest.kt @@ -20,9 +20,9 @@ import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Completion import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Value import com.caplin.integration.datasourcex.util.flow.dematerialize -import io.kotest.core.coroutines.backgroundScope import io.kotest.core.spec.IsolationMode import io.kotest.core.spec.style.FunSpec +import io.kotest.engine.coroutines.backgroundScope import io.kotest.matchers.collections.shouldContain import io.kotest.matchers.collections.shouldNotContain import io.kotest.matchers.equals.shouldBeEqual diff --git a/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/CompletingSharedFlowTest.kt b/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/CompletingSharedFlowTest.kt index 573bbbc..8383f20 100644 --- a/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/CompletingSharedFlowTest.kt +++ b/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/CompletingSharedFlowTest.kt @@ -6,8 +6,8 @@ import app.cash.turbine.test import app.cash.turbine.turbineScope import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Completion import com.caplin.integration.datasourcex.util.flow.ValueOrCompletion.Value -import io.kotest.core.coroutines.backgroundScope import io.kotest.core.spec.style.FunSpec +import io.kotest.engine.coroutines.backgroundScope import io.kotest.matchers.equals.shouldBeEqual import io.kotest.matchers.types.shouldBeInstanceOf import kotlinx.coroutines.ExperimentalCoroutinesApi diff --git a/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/FlowMapTest.kt b/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/FlowMapTest.kt index 9996491..23c4ef2 100644 --- a/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/FlowMapTest.kt +++ b/util/src/test/kotlin/com/caplin/integration/datasourcex/util/flow/FlowMapTest.kt @@ -7,8 +7,8 @@ import app.cash.turbine.turbineScope import com.caplin.integration.datasourcex.util.flow.MapEvent.EntryEvent.Removed import com.caplin.integration.datasourcex.util.flow.MapEvent.EntryEvent.Upsert import com.caplin.integration.datasourcex.util.flow.MapEvent.Populated -import io.kotest.core.coroutines.backgroundScope import io.kotest.core.spec.style.FunSpec +import io.kotest.engine.coroutines.backgroundScope import io.kotest.matchers.equals.shouldBeEqual import io.kotest.matchers.maps.shouldContainExactly import io.kotest.matchers.nulls.shouldBeNull