summaryrefslogtreecommitdiff
path: root/app/src/test
diff options
context:
space:
mode:
authorcyberta <cyberta@riseup.net>2022-01-31 23:32:41 +0000
committercyberta <cyberta@riseup.net>2022-01-31 23:32:41 +0000
commite631257d3f0e55bfb77e32d25a798bd3d0d3ff25 (patch)
tree41796be8a9b56f5a66ab803b8a98a10f9d43f6af /app/src/test
parent77908103f7d6d5bd6c8bd20c8e2ca0c9ac45da4d (diff)
parent30cedf1f95f4f430ddc378d963e8cd46c1bd0903 (diff)
Merge branch 'update_tor-android-buildTools' into 'master'
Some cleanup See merge request leap/bitmask_android!167
Diffstat (limited to 'app/src/test')
-rw-r--r--app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
index 4b523edb..31d6ae89 100644
--- a/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
+++ b/app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java
@@ -439,7 +439,9 @@ public class ProviderApiManagerTest {
@Test
public void test_handleIntentSetupProvider_preseededCustomProviderAndCA_failedConfiguration() throws IOException, CertificateEncodingException, NoSuchAlgorithmException, JSONException {
-
+ if ("insecure".equals(BuildConfig.FLAVOR_implementation )) {
+ return;
+ }
Provider provider = getConfiguredProvider();
mockProviderApiConnector(ERROR_CASE_MICONFIGURED_PROVIDER);