summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test-manager/src/tests/mod.rs11
1 files changed, 5 insertions, 6 deletions
diff --git a/test/test-manager/src/tests/mod.rs b/test/test-manager/src/tests/mod.rs
index e99300232b..f4c4563bde 100644
--- a/test/test-manager/src/tests/mod.rs
+++ b/test/test-manager/src/tests/mod.rs
@@ -171,12 +171,11 @@ pub async fn cleanup_after_test(mullvad_client: &mut MullvadProxyClient) -> anyh
.await
.context("Could not clear PQ options in cleanup")?;
- for custom_list in custom_lists {
- mullvad_client
- .delete_custom_list(custom_list.name)
- .await
- .context("Could not remove custom list")?;
- }
+ let _ = custom_lists;
+ mullvad_client
+ .clear_custom_lists()
+ .await
+ .context("Could not remove custom list")?;
Ok(())
}