Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…-FluxC-Android into woo/simple-payments-cleanup-p2
  • Loading branch information
nbradbury committed Feb 11, 2022
2 parents 9557854 + 7ef8ba5 commit 1344ccf
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import org.wordpress.android.fluxc.store.WCInPersonPaymentsStore.InPersonPayment
import javax.inject.Inject
import org.junit.Assert.assertFalse
import org.junit.Assert.assertTrue
import java.util.Locale

class ReleaseStack_InPersonPaymentsStripeExtensionTest : ReleaseStack_WCBase() {
@Inject internal lateinit var store: WCInPersonPaymentsStore
Expand Down Expand Up @@ -46,7 +47,7 @@ class ReleaseStack_InPersonPaymentsStripeExtensionTest : ReleaseStack_WCBase() {
assertEquals("US", result.model?.country)
assertEquals(false, result.model?.hasPendingRequirements)
assertEquals(false, result.model?.hasOverdueRequirements)
assertTrue(result.model?.statementDescriptor.isNullOrEmpty())
assertEquals(result.model?.statementDescriptor?.toLowerCase(Locale.ROOT), "custom descriptor")
assertEquals("US", result.model?.country)
assertEquals("usd", result.model?.storeCurrencies?.default)
assertEquals(listOf("usd"), result.model?.storeCurrencies?.supportedCurrencies)
Expand Down

0 comments on commit 1344ccf

Please sign in to comment.