Fix sonar build
All checks were successful
SonarQube Scan / SonarQube Trigger (push) Successful in 11m16s
All checks were successful
SonarQube Scan / SonarQube Trigger (push) Successful in 11m16s
(I hope... works locally)
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
@@ -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(
|
||||||
|
|||||||
Reference in New Issue
Block a user