aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDamian Minkov <damencho@jitsi.org>2015-05-04 11:21:37 +0300
committerDamian Minkov <damencho@jitsi.org>2015-05-04 11:21:37 +0300
commitd6cf5521bd739538e23e533d31c9e2aaedacde8b (patch)
treedd6b1392cb4291cb25100678a66ea6c7f3d9203b /test
parentdf61a5fb6cac0f94fcad52758d451c04b64aeb72 (diff)
downloadjitsi-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.java6
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