summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-11-22 13:39:41 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-11-22 13:39:41 +0100
commitf629200a57ca2f78d238ff982af77467181b9b25 (patch)
tree849ee45d7fb961a0d495eac00f35908a074df92d /test/test-manager
parent3a872179b34a6fdda2660cd5f14e35f769f913a3 (diff)
parentad2fc60c64c78ad78bd9f995a9f5e72f978ac1b9 (diff)
downloadmullvadvpn-f629200a57ca2f78d238ff982af77467181b9b25.tar.xz
mullvadvpn-f629200a57ca2f78d238ff982af77467181b9b25.zip
Merge branch 'android-tokio-shutdown-timeout'
Diffstat (limited to 'test/test-manager')
-rw-r--r--test/test-manager/src/tests/account.rs7
1 files changed, 5 insertions, 2 deletions
diff --git a/test/test-manager/src/tests/account.rs b/test/test-manager/src/tests/account.rs
index 7fe14ae58e..45151070a9 100644
--- a/test/test-manager/src/tests/account.rs
+++ b/test/test-manager/src/tests/account.rs
@@ -295,8 +295,11 @@ pub async fn new_device_client() -> anyhow::Result<DevicesProxy> {
..api_endpoint
});
- let api = mullvad_api::Runtime::new(tokio::runtime::Handle::current())
- .expect("failed to create api runtime");
+ let api = mullvad_api::Runtime::new(
+ tokio::runtime::Handle::current(),
+ mullvad_api::DefaultDnsResolver,
+ )
+ .expect("failed to create api runtime");
let rest_handle = api.mullvad_rest_handle(ApiConnectionMode::Direct.into_provider());
Ok(DevicesProxy::new(rest_handle))
}