summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-01-31 23:49:49 +0100
committercyBerta <cyberta@riseup.net>2022-01-31 23:49:49 +0100
commit904f839305bf63ea1f9704e4c3de1ae2ba455b99 (patch)
treee28aabe4dad4193905024f3eec8b025bc00a3708
parent70dede9118de4f37ab0275b64736581566ba3eac (diff)
ignore ProviderApiManager test case for insecure flavor
-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);