Skip to content

Commit

Permalink
Added test variable
Browse files Browse the repository at this point in the history
  • Loading branch information
IrynaTsymbaliuk committed Apr 6, 2022
1 parent 1b018b7 commit ff00988
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 135 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,9 @@ class BaseViewModel(useCaseProvider: UseCaseProvider) : ViewModel() {
.getGateways()
.map { Gateway.from(it.name) }
.toMutableList()
.apply { remove(Gateway.PAYPAL) }
.apply {
add(Gateway.CARDINITY) // for testing purpose only
remove(Gateway.PAYPAL)
}
}
}

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class CardSummaryActivity : BaseActivity() {
finish()
}
binding.confirmButton.setOnClickListener {
viewModel.billingDataSource.launchBillingFlow(this@CardSummaryActivity, "10_usd")
viewModel.billingDataSource.launchBillingFlow(this@CardSummaryActivity, "test")
}
binding.cancelButton.setOnClickListener {
navigateToHome()
Expand Down

0 comments on commit ff00988

Please sign in to comment.