Enable Payments Beta for more country codes.

This commit is contained in:
Alex Hart
2021-11-11 13:45:48 -04:00
committed by GitHub
parent 48c115eba1
commit 5047fc54f2
3 changed files with 11 additions and 10 deletions

View File

@@ -34,8 +34,9 @@ public final class GeographicalRestrictionsTest {
}
@Test
public void us_not_allowed_in_release() {
assumeFalse(BuildConfig.DEBUG);
assertFalse(GeographicalRestrictions.e164Allowed("+15407011234"));
public void blacklist_not_allowed() {
for (int code : BuildConfig.MOBILE_COIN_BLACKLIST) {
assertFalse(GeographicalRestrictions.regionAllowed(code));
}
}
}