diff options
author | cyBerta <cyberta@riseup.net> | 2022-01-31 23:49:49 +0100 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2022-01-31 23:49:49 +0100 |
commit | 904f839305bf63ea1f9704e4c3de1ae2ba455b99 (patch) | |
tree | e28aabe4dad4193905024f3eec8b025bc00a3708 /app | |
parent | 70dede9118de4f37ab0275b64736581566ba3eac (diff) |
ignore ProviderApiManager test case for insecure flavor
Diffstat (limited to 'app')
-rw-r--r-- | app/src/test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 4 |
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); |