Skip to content

Commit

Permalink
Update BridgeSettings format in test suite
Browse files Browse the repository at this point in the history
  • Loading branch information
Jontified committed Jan 2, 2024
1 parent 8893858 commit f840ce9
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions test/test-manager/src/tests/tunnel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit f840ce9

Please sign in to comment.