diff --git a/api/build.gradle.kts b/api/build.gradle.kts index 8381c420..fd23d204 100644 --- a/api/build.gradle.kts +++ b/api/build.gradle.kts @@ -33,7 +33,10 @@ dependencies { implementation(platform(libs.koin.bom)) implementation(libs.bundles.koin) - androidTestImplementation(libs.bundles.kointest) + //testImplementation(libs.bundles.kointest) + // I don't know why but those dependencies are unreachable when accessed directly from version catalog + testImplementation("io.insert-koin:koin-test:${libs.versions.koin.bom.get()}") + testImplementation("io.insert-koin:koin-test-junit4:${libs.versions.koin.bom.get()}") implementation(libs.konsumexml) implementation(libs.kotlinxmlbuilder) diff --git a/db/build.gradle.kts b/db/build.gradle.kts index 630b66f2..429a6161 100644 --- a/db/build.gradle.kts +++ b/db/build.gradle.kts @@ -44,7 +44,10 @@ dependencies { implementation(platform(libs.koin.bom)) implementation(libs.bundles.koin) - androidTestImplementation(libs.bundles.kointest) + //androidTestImplementation(libs.bundles.kointest) + // I don't know why but those dependencies are unreachable when accessed directly from version catalog + androidTestImplementation("io.insert-koin:koin-test:${libs.versions.koin.bom.get()}") + androidTestImplementation("io.insert-koin:koin-test-junit4:${libs.versions.koin.bom.get()}") implementation(libs.bundles.coroutines) androidTestImplementation(libs.coroutines.test) diff --git a/app/src/test/java/com/readrops/app/DateUtilsTest.kt b/db/src/test/java/com/readrops/app/DateUtilsTest.kt similarity index 100% rename from app/src/test/java/com/readrops/app/DateUtilsTest.kt rename to db/src/test/java/com/readrops/app/DateUtilsTest.kt