Fix sonar build
All checks were successful
SonarQube Scan / SonarQube Trigger (push) Successful in 11m16s

(I hope... works locally)
This commit is contained in:
2025-10-13 19:36:59 +02:00
parent efac02216e
commit 90818d0bf1
2 changed files with 1 additions and 11 deletions

View File

@@ -53,26 +53,16 @@ android {
dependencies { dependencies {
implementation(libs.androidx.compose.foundation) implementation(libs.androidx.compose.foundation)
debugImplementation(libs.androidx.compose.ui.test.manifest)
debugImplementation(libs.androidx.compose.ui.test.android)
} }
defaultConfig { defaultConfig {
minSdk = libs.versions.android.minSdk.get().toInt() minSdk = libs.versions.android.minSdk.get().toInt()
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
} }
buildFeatures { buildFeatures {
compose = true compose = true
} }
buildTypes {
debug {
enableAndroidTestCoverage = true
}
}
testOptions.unitTests.isIncludeAndroidResources = true
} }
compose.resources { compose.resources {

View File

@@ -14,7 +14,7 @@ import kotlin.test.Test
class EndOfGameTest { class EndOfGameTest {
@Test @Test
fun `ensure end of game works correctly`() = runComposeUiTest { fun ensure_end_of_game_works_correctly() = runComposeUiTest {
var restart = false var restart = false
setContent { setContent {
EndOfGame( EndOfGame(