diff options
| author | David Lönnhager <david.l@mullvad.net> | 2024-12-02 16:01:06 +0100 |
|---|---|---|
| committer | David Lönnhager <david.l@mullvad.net> | 2024-12-02 16:01:06 +0100 |
| commit | 8bda210d18bf7fed9f024547d168dc1293d1dbd9 (patch) | |
| tree | ff62f250236eedf7158bd3e6f8f8e05b58b179a4 /test | |
| parent | 8bc1412be0d5d9b229149a473e6bfb3901d9b59b (diff) | |
| parent | 354665e4cf73c05c472108afbaaac9d30bfb55c1 (diff) | |
| download | mullvadvpn-8bda210d18bf7fed9f024547d168dc1293d1dbd9.tar.xz mullvadvpn-8bda210d18bf7fed9f024547d168dc1293d1dbd9.zip | |
Merge branch 'simplify-api-addr-cache'
Diffstat (limited to 'test')
| -rw-r--r-- | test/test-manager/src/tests/account.rs | 7 |
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)) } |
