From 8d87eef0fc184e1354a6e53236c0933789de07f6 Mon Sep 17 00:00:00 2001 From: aminecmi Date: Wed, 17 Aug 2022 14:24:28 +0200 Subject: [PATCH] More fixes. --- .drone.yml | 2 +- .../bou/amine/apps/readerforselfossv2/androidTest.kt | 12 ------------ .../bou/amine/apps/readerforselfossv2/commonTest.kt | 12 ------------ 3 files changed, 1 insertion(+), 25 deletions(-) delete mode 100644 shared/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/androidTest.kt delete mode 100644 shared/src/commonTest/kotlin/bou/amine/apps/readerforselfossv2/commonTest.kt diff --git a/.drone.yml b/.drone.yml index 486fe94..f925b5c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ steps: failure: ignore commands: - ls -la - - ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN -PignoreGitVersion=true -P appLoginUrl="URL" -P appLoginUsername="LOGIN" -P appLoginPassword="PASS" + - ./gradlew sonarqube -Dsonar.projectKey=RFS2 -Dsonar.sources=. -Dsonar.host.url=$SONAR_HOST_URL -Dsonar.login=$SONAR_LOGIN -PignoreGitVersion=true -P appLoginUrl="\"URL\"" -P appLoginUsername="\"LOGIN\"" -P appLoginPassword="\"PASS\"" environment: SONAR_HOST_URL: from_secret: sonarScannerHostUrl diff --git a/shared/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/androidTest.kt b/shared/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/androidTest.kt deleted file mode 100644 index a04ee3e..0000000 --- a/shared/src/androidTest/kotlin/bou/amine/apps/readerforselfossv2/androidTest.kt +++ /dev/null @@ -1,12 +0,0 @@ -package bou.amine.apps.readerforselfossv2 - -import org.junit.Assert.assertTrue -import org.junit.Test - -class AndroidGreetingTest { - - @Test - fun testExample() { - assertTrue("Check Android is mentioned", Greeting().greeting().contains("Android")) - } -} \ No newline at end of file diff --git a/shared/src/commonTest/kotlin/bou/amine/apps/readerforselfossv2/commonTest.kt b/shared/src/commonTest/kotlin/bou/amine/apps/readerforselfossv2/commonTest.kt deleted file mode 100644 index 3e195c3..0000000 --- a/shared/src/commonTest/kotlin/bou/amine/apps/readerforselfossv2/commonTest.kt +++ /dev/null @@ -1,12 +0,0 @@ -package bou.amine.apps.readerforselfossv2 - -import kotlin.test.Test -import kotlin.test.assertTrue - -class CommonGreetingTest { - - @Test - fun testExample() { - assertTrue(Greeting().greeting().contains("Hello"), "Check 'Hello' is mentioned") - } -} \ No newline at end of file