summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-manager/src')
-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))
}