summaryrefslogtreecommitdiff
path: root/app/src/test/java/de
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2022-05-30 23:50:50 +0200
committercyBerta <cyberta@riseup.net>2022-07-19 00:03:41 +0200
commit61bfc6b6d3ad830a8a7569ea31399e93f48dd38d (patch)
tree1ad5a09f06981fe329e7ffa642d17f4d4f956d61 /app/src/test/java/de
parent71d1c34319b703d909c882c24a436cd74ed42cc0 (diff)
obfuscate vpn traffic using either shapeshfiter or obfsvpn
Diffstat (limited to 'app/src/test/java/de')
-rw-r--r--app/src/test/java/de/blinkt/openvpn/VpnProfileTest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/src/test/java/de/blinkt/openvpn/VpnProfileTest.java b/app/src/test/java/de/blinkt/openvpn/VpnProfileTest.java
index e8a93b75..34eea5e9 100644
--- a/app/src/test/java/de/blinkt/openvpn/VpnProfileTest.java
+++ b/app/src/test/java/de/blinkt/openvpn/VpnProfileTest.java
@@ -59,7 +59,7 @@ public class VpnProfileTest {
@Test
public void toJson_obfs4() throws JSONException {
VpnProfile mockVpnProfile = new VpnProfile("mockProfile", OBFS4);
- mockVpnProfile.mConnections[0] = new Obfs4Connection(new Obfs4Options("192.168.0.1", "1234", "CERT", "1"));
+ mockVpnProfile.mConnections[0] = new Obfs4Connection(new Obfs4Options("192.168.0.1", "1234", "CERT", "1", false));
mockVpnProfile.mConnections[0].setUseUdp(false);
mockVpnProfile.mLastUsed = 0;
String s = mockVpnProfile.toJson();