Commit 25e369a9 authored by Ricki Hirner's avatar Ricki Hirner 🐑

Tests

parent fab379ad
Pipeline #11601083 passed with stage
in 1 minute and 35 seconds
......@@ -66,11 +66,11 @@ public class CustomCertManagerTest {
certManager = new CustomCertManager(getContext(), true, service);
assertNotNull(certManager);
certManager.resetCertificates();
certManager.resetCertificates(getContext());
paranoidCertManager = new CustomCertManager(getContext(), false, service);
assertNotNull(paranoidCertManager);
paranoidCertManager.resetCertificates();
paranoidCertManager.resetCertificates(getContext());
}
@After
......
......@@ -73,6 +73,7 @@ class CustomCertManager(
}
}
@JvmStatic
fun resetCertificates(context: Context): Boolean {
val intent = Intent(context, CustomCertService::class.java)
intent.action = CustomCertService.CMD_RESET_CERTIFICATES
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment