Skip to content

Commit

Permalink
fixup: Make sure default access methods are reset
Browse files Browse the repository at this point in the history
  • Loading branch information
hulthe committed Apr 10, 2024
1 parent 9de7258 commit dd48d24
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/test-manager/src/tests/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,16 @@ pub async fn cleanup_after_test(mullvad_client: &mut MullvadProxyClient) -> anyh
settings_version: _, // N/A
} = Default::default();

let _ = api_access_methods;
mullvad_client
.clear_custom_access_methods()
.await
.context("Could not clear custom api access methods")?;
for access_method in api_access_methods.iter() {
mullvad_client
.update_access_method(access_method.clone())
.await
.context("Could not reset default access method")?;
}

mullvad_client
.set_relay_settings(relay_settings)
Expand Down

0 comments on commit dd48d24

Please sign in to comment.