Change to country codes for Payments Beta.
This commit is contained in:
parent
e8c769bd1d
commit
cc64a922d7
2 changed files with 6 additions and 1 deletions
|
@ -171,7 +171,7 @@ android {
|
|||
buildConfigField "String[]", "LANGUAGES", "new String[]{\"" + autoResConfig().collect { s -> s.replace('-r', '_') }.join('", "') + '"}'
|
||||
buildConfigField "int", "CANONICAL_VERSION_CODE", "$canonicalVersionCode"
|
||||
buildConfigField "String", "DEFAULT_CURRENCIES", "\"EUR,AUD,GBP,CAD,CNY\""
|
||||
buildConfigField "int[]", "MOBILE_COIN_BLACKLIST", "new int[]{98,963,53,850,380}"
|
||||
buildConfigField "int[]", "MOBILE_COIN_BLACKLIST", "new int[]{98,963,53,850,7}"
|
||||
buildConfigField "String", "GIPHY_API_KEY", "\"3o6ZsYH6U6Eri53TXy\""
|
||||
buildConfigField "String", "RECAPTCHA_PROOF_URL", "\"https://signalcaptchas.org/challenge/generate.html\""
|
||||
|
||||
|
|
|
@ -33,6 +33,11 @@ public final class GeographicalRestrictionsTest {
|
|||
assertTrue(GeographicalRestrictions.e164Allowed("+441617151234"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void crimea_not_allowed() {
|
||||
assertFalse(GeographicalRestrictions.e164Allowed("+79782222222"));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void blacklist_not_allowed() {
|
||||
for (int code : BuildConfig.MOBILE_COIN_BLACKLIST) {
|
||||
|
|
Loading…
Add table
Reference in a new issue