Skip to content

Commit

Permalink
fixup: test fw
Browse files Browse the repository at this point in the history
  • Loading branch information
dlon committed Nov 22, 2024
1 parent 101781d commit 51e8014
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions test/test-manager/src/tests/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
}
Expand Down

0 comments on commit 51e8014

Please sign in to comment.