From 904f839305bf63ea1f9704e4c3de1ae2ba455b99 Mon Sep 17 00:00:00 2001 From: cyBerta Date: Mon, 31 Jan 2022 23:49:49 +0100 Subject: ignore ProviderApiManager test case for insecure flavor --- .../test/java/se/leap/bitmaskclient/eip/ProviderApiManagerTest.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/src/test/java') 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); -- cgit v1.2.3