summaryrefslogtreecommitdiffhomepage
path: root/android/lib/billing
diff options
context:
space:
mode:
authorJonatan Rhodin <jonatan.rhodin@mullvad.net>2023-12-04 09:58:15 +0100
committerJonatan Rhodin <jonatan.rhodin@mullvad.net>2024-01-02 11:40:59 +0100
commit567ee21cae56c90daeb0ef6bd7708e75a40feba2 (patch)
tree1b300ef33f394e2a60f0e9d707bc1de6a06ab9e4 /android/lib/billing
parentcdd8c97f878c20a7a6457bdeeef9b2abce0a737d (diff)
downloadmullvadvpn-567ee21cae56c90daeb0ef6bd7708e75a40feba2.tar.xz
mullvadvpn-567ee21cae56c90daeb0ef6bd7708e75a40feba2.zip
Remove unused dependencies
Diffstat (limited to 'android/lib/billing')
-rw-r--r--android/lib/billing/build.gradle.kts4
-rw-r--r--android/lib/billing/src/androidTest/kotlin/net/mullvad/mullvadvpn/lib/billing/BillingRepositoryTest.kt6
2 files changed, 0 insertions, 10 deletions
diff --git a/android/lib/billing/build.gradle.kts b/android/lib/billing/build.gradle.kts
index 255459f453..8ecc14f7cd 100644
--- a/android/lib/billing/build.gradle.kts
+++ b/android/lib/billing/build.gradle.kts
@@ -42,9 +42,6 @@ dependencies {
implementation(Dependencies.Kotlin.stdlib)
implementation(Dependencies.KotlinX.coroutinesAndroid)
- implementation(Dependencies.Koin.core)
- implementation(Dependencies.Koin.android)
-
//Billing library
implementation(Dependencies.billingClient)
@@ -71,6 +68,5 @@ dependencies {
androidTestImplementation(Dependencies.KotlinX.coroutinesTest)
androidTestImplementation(Dependencies.turbine)
androidTestImplementation(Dependencies.junit)
- androidTestImplementation(Dependencies.AndroidX.espressoContrib)
androidTestImplementation(Dependencies.AndroidX.espressoCore)
}
diff --git a/android/lib/billing/src/androidTest/kotlin/net/mullvad/mullvadvpn/lib/billing/BillingRepositoryTest.kt b/android/lib/billing/src/androidTest/kotlin/net/mullvad/mullvadvpn/lib/billing/BillingRepositoryTest.kt
index 85982007b8..e6f5225740 100644
--- a/android/lib/billing/src/androidTest/kotlin/net/mullvad/mullvadvpn/lib/billing/BillingRepositoryTest.kt
+++ b/android/lib/billing/src/androidTest/kotlin/net/mullvad/mullvadvpn/lib/billing/BillingRepositoryTest.kt
@@ -38,9 +38,6 @@ import org.junit.After
import org.junit.Before
import org.junit.Rule
import org.junit.Test
-import org.koin.core.context.startKoin
-import org.koin.core.context.stopKoin
-import org.koin.dsl.module
class BillingRepositoryTest {
@get:Rule val testCoroutineRule = TestCoroutineRule()
@@ -56,8 +53,6 @@ class BillingRepositoryTest {
@Before
fun setUp() {
- startKoin { modules(module { single { mockk<Activity>() } }) }
-
mockkStatic(BILLING_CLIENT_CLASS)
mockkStatic(BILLING_CLIENT_KOTLIN_CLASS)
mockkStatic(BILLING_FLOW_PARAMS)
@@ -74,7 +69,6 @@ class BillingRepositoryTest {
@After
fun tearDown() {
unmockkAll()
- stopKoin()
}
@Test