From 90818d0bf13970ef4f752992b4687d8878b4a625 Mon Sep 17 00:00:00 2001 From: Christian Basler Date: Mon, 13 Oct 2025 19:36:59 +0200 Subject: [PATCH] Fix sonar build (I hope... works locally) --- commonUI/build.gradle.kts | 10 ---------- .../kotlin/ch/dissem/yaep/ui/common/EndOfGameTest.kt | 2 +- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/commonUI/build.gradle.kts b/commonUI/build.gradle.kts index cc4d005..a6ec30c 100644 --- a/commonUI/build.gradle.kts +++ b/commonUI/build.gradle.kts @@ -53,26 +53,16 @@ android { dependencies { implementation(libs.androidx.compose.foundation) - debugImplementation(libs.androidx.compose.ui.test.manifest) - debugImplementation(libs.androidx.compose.ui.test.android) } defaultConfig { minSdk = libs.versions.android.minSdk.get().toInt() - testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } buildFeatures { compose = true } - buildTypes { - debug { - enableAndroidTestCoverage = true - } - } - - testOptions.unitTests.isIncludeAndroidResources = true } compose.resources { diff --git a/commonUI/src/commonTest/kotlin/ch/dissem/yaep/ui/common/EndOfGameTest.kt b/commonUI/src/commonTest/kotlin/ch/dissem/yaep/ui/common/EndOfGameTest.kt index f093c40..3eb19fa 100644 --- a/commonUI/src/commonTest/kotlin/ch/dissem/yaep/ui/common/EndOfGameTest.kt +++ b/commonUI/src/commonTest/kotlin/ch/dissem/yaep/ui/common/EndOfGameTest.kt @@ -14,7 +14,7 @@ import kotlin.test.Test class EndOfGameTest { @Test - fun `ensure end of game works correctly`() = runComposeUiTest { + fun ensure_end_of_game_works_correctly() = runComposeUiTest { var restart = false setContent { EndOfGame(