summaryrefslogtreecommitdiffhomepage
path: root/test/test-manager/src/tests
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2024-11-27 15:09:05 +0100
committerDavid Lönnhager <david.l@mullvad.net>2024-12-02 16:00:38 +0100
commit94ce8fb753f7441243d9281416632ce7ed4b6cd6 (patch)
tree8fa86e98b4b50ecd70ebf6468d222cad8e6cf552 /test/test-manager/src/tests
parente07c12a5f14a11051fa086c97cc22413e431a1c8 (diff)
downloadmullvadvpn-94ce8fb753f7441243d9281416632ce7ed4b6cd6.tar.xz
mullvadvpn-94ce8fb753f7441243d9281416632ce7ed4b6cd6.zip
Remove DNS fallback except for conncheck
Diffstat (limited to 'test/test-manager/src/tests')
-rw-r--r--test/test-manager/src/tests/account.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/test-manager/src/tests/account.rs b/test/test-manager/src/tests/account.rs
index 45151070a9..7fe14ae58e 100644
--- a/test/test-manager/src/tests/account.rs
+++ b/test/test-manager/src/tests/account.rs
@@ -295,11 +295,8 @@ pub async fn new_device_client() -> anyhow::Result<DevicesProxy> {
..api_endpoint
});
- let api = mullvad_api::Runtime::new(
- tokio::runtime::Handle::current(),
- mullvad_api::DefaultDnsResolver,
- )
- .expect("failed to create api runtime");
+ let api = mullvad_api::Runtime::new(tokio::runtime::Handle::current())
+ .expect("failed to create api runtime");
let rest_handle = api.mullvad_rest_handle(ApiConnectionMode::Direct.into_provider());
Ok(DevicesProxy::new(rest_handle))
}