From f840ce95b695fddd2d9e5bb053c7da2e4bb32b56 Mon Sep 17 00:00:00 2001 From: Jonathan Date: Tue, 2 Jan 2024 13:57:13 +0100 Subject: [PATCH] Update BridgeSettings format in test suite --- test/test-manager/src/tests/tunnel.rs | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/test/test-manager/src/tests/tunnel.rs b/test/test-manager/src/tests/tunnel.rs index 6f759d782601..d36ba4febe1a 100644 --- a/test/test-manager/src/tests/tunnel.rs +++ b/test/test-manager/src/tests/tunnel.rs @@ -6,8 +6,8 @@ use super::{Error, TestContext}; use crate::network_monitor::{start_packet_monitor, MonitorOptions}; use mullvad_management_interface::{types, ManagementServiceClient}; use mullvad_types::relay_constraints::{ - BridgeConstraints, BridgeSettings, BridgeState, Constraint, ObfuscationSettings, - OpenVpnConstraints, RelayConstraints, RelaySettings, SelectedObfuscation, TransportPort, + BridgeSettings, BridgeState, Constraint, ObfuscationSettings, OpenVpnConstraints, + RelayConstraints, RelaySettings, SelectedObfuscation, TransportPort, Udp2TcpObfuscationSettings, WireguardConstraints, }; use mullvad_types::wireguard; @@ -209,12 +209,9 @@ pub async fn test_bridge( .await .expect("failed to enable bridge mode"); - set_bridge_settings( - &mut mullvad_client, - BridgeSettings::Normal(BridgeConstraints::default()), - ) - .await - .expect("failed to update bridge settings"); + set_bridge_settings(&mut mullvad_client, BridgeSettings::default()) + .await + .expect("failed to update bridge settings"); set_relay_settings( &mut mullvad_client,