diff options
author | Damian Minkov <damencho@jitsi.org> | 2015-05-04 11:21:37 +0300 |
---|---|---|
committer | Damian Minkov <damencho@jitsi.org> | 2015-05-04 11:21:37 +0300 |
commit | d6cf5521bd739538e23e533d31c9e2aaedacde8b (patch) | |
tree | dd6b1392cb4291cb25100678a66ea6c7f3d9203b /test | |
parent | df61a5fb6cac0f94fcad52758d451c04b64aeb72 (diff) | |
download | jitsi-d6cf5521bd739538e23e533d31c9e2aaedacde8b.zip jitsi-d6cf5521bd739538e23e533d31c9e2aaedacde8b.tar.gz jitsi-d6cf5521bd739538e23e533d31c9e2aaedacde8b.tar.bz2 |
Updates tests always-trust mode settings.
Diffstat (limited to 'test')
-rw-r--r-- | test/net/java/sip/communicator/slick/protocol/sip/TestAccountInstallation.java | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/net/java/sip/communicator/slick/protocol/sip/TestAccountInstallation.java b/test/net/java/sip/communicator/slick/protocol/sip/TestAccountInstallation.java index cc47fad..ce44d75 100644 --- a/test/net/java/sip/communicator/slick/protocol/sip/TestAccountInstallation.java +++ b/test/net/java/sip/communicator/slick/protocol/sip/TestAccountInstallation.java @@ -9,9 +9,12 @@ package net.java.sip.communicator.slick.protocol.sip; import java.util.*; import junit.framework.*; +import net.java.sip.communicator.service.certificate.*; import net.java.sip.communicator.service.protocol.*; import net.java.sip.communicator.service.protocol.sip.*; +import net.java.sip.communicator.util.*; +import org.jitsi.service.configuration.*; import org.osgi.framework.*; public class TestAccountInstallation @@ -52,6 +55,9 @@ public class TestAccountInstallation */ public void testInstallAccount() { + ServiceUtils.getService(SipSlickFixture.bc, ConfigurationService.class) + .setProperty(CertificateService.PNAME_ALWAYS_TRUST, true); + // first obtain a reference to the provider factory ServiceReference[] serRefs = null; String osgiFilter = "(" + ProtocolProviderFactory.PROTOCOL |