Skip to content

Commit dd48d24

Browse files
committed
fixup: Make sure default access methods are reset
1 parent 9de7258 commit dd48d24

File tree

1 file changed

+6
-1
lines changed
  • test/test-manager/src/tests

1 file changed

+6
-1
lines changed

test/test-manager/src/tests/mod.rs

+6-1
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,16 @@ pub async fn cleanup_after_test(mullvad_client: &mut MullvadProxyClient) -> anyh
9494
settings_version: _, // N/A
9595
} = Default::default();
9696

97-
let _ = api_access_methods;
9897
mullvad_client
9998
.clear_custom_access_methods()
10099
.await
101100
.context("Could not clear custom api access methods")?;
101+
for access_method in api_access_methods.iter() {
102+
mullvad_client
103+
.update_access_method(access_method.clone())
104+
.await
105+
.context("Could not reset default access method")?;
106+
}
102107

103108
mullvad_client
104109
.set_relay_settings(relay_settings)

0 commit comments

Comments
 (0)