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 b56168eaeed0..083dfabff03e 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 @@ -58,7 +58,8 @@ class BillingRepositoryTest { mockkStatic(BILLING_FLOW_PARAMS) every { BillingClient.newBuilder(any()) } returns mockBillingClientBuilder - every { mockBillingClientBuilder.enablePendingPurchases(any()) } returns mockBillingClientBuilder + every { mockBillingClientBuilder.enablePendingPurchases(any()) } returns + mockBillingClientBuilder every { mockBillingClientBuilder.setListener(capture(purchaseUpdatedListenerSlot)) } returns mockBillingClientBuilder every { mockBillingClientBuilder.build() } returns mockBillingClient