Skip to content

Commit

Permalink
Fix billing repository test
Browse files Browse the repository at this point in the history
  • Loading branch information
Pururun committed Oct 4, 2024
1 parent bdf3548 commit ba3c222
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ class BillingRepositoryTest {
mockkStatic(BILLING_FLOW_PARAMS)

every { BillingClient.newBuilder(any()) } returns mockBillingClientBuilder
every { mockBillingClientBuilder.enablePendingPurchases() } returns mockBillingClientBuilder
every { mockBillingClientBuilder.enablePendingPurchases(any()) } returns
mockBillingClientBuilder
every { mockBillingClientBuilder.setListener(capture(purchaseUpdatedListenerSlot)) } returns
mockBillingClientBuilder
every { mockBillingClientBuilder.build() } returns mockBillingClient
Expand Down

0 comments on commit ba3c222

Please sign in to comment.