summaryrefslogtreecommitdiff
path: root/app/src/androidTest
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@autistici.org>2024-04-23 13:45:43 +0200
committerkwadronaut <kwadronaut@autistici.org>2024-04-23 13:45:43 +0200
commit2b91434f585e52fbfc229a50a36a04ef6cb8ce76 (patch)
tree151de44d22756821d8c9b7df4c990ab6a508e54b /app/src/androidTest
parentc0e8bb15ecb4bc37c2fed0b50e75ef233b921731 (diff)
rm provider selection test for custom provider
fixes #9176
Diffstat (limited to 'app/src/androidTest')
-rw-r--r--app/src/androidTest/java/se/leap/bitmaskclient/ProviderSetupTest.java3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/src/androidTest/java/se/leap/bitmaskclient/ProviderSetupTest.java b/app/src/androidTest/java/se/leap/bitmaskclient/ProviderSetupTest.java
index dedb40d7..133b834b 100644
--- a/app/src/androidTest/java/se/leap/bitmaskclient/ProviderSetupTest.java
+++ b/app/src/androidTest/java/se/leap/bitmaskclient/ProviderSetupTest.java
@@ -31,6 +31,7 @@ import org.junit.Rule;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.MethodSorters;
+import org.junit.Assume;
import se.leap.bitmaskclient.base.MainActivity;
import se.leap.bitmaskclient.base.StartActivity;
@@ -69,6 +70,8 @@ public class ProviderSetupTest {
@Test
public void test01_setupProviderDefault() {
+ // Assume the branding is not "custom" to skip this test when it is.
+ Assume.assumeFalse("custom".equals(BuildConfig.FLAVOR_branding));
startSetupActivity();
ProviderSetupUtils.runProviderSetup(device, true, false, InstrumentationRegistry.getInstrumentation().getTargetContext());
}