Skip to content

Commit

Permalink
Fix extra api_endpoint_update argument still being passed to `mullv…
Browse files Browse the repository at this point in the history
…ad_rest_handle`
  • Loading branch information
MarkusPettersson98 committed Dec 20, 2023
1 parent f78b40e commit 0507f21
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions test/test-manager/src/tests/account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,10 +237,7 @@ pub async fn new_device_client() -> DevicesProxy {
let api = mullvad_api::Runtime::new(tokio::runtime::Handle::current())
.expect("failed to create api runtime");
let rest_handle = api
.mullvad_rest_handle(
mullvad_api::proxy::ApiConnectionMode::Direct.into_repeat(),
|_| async { true },
)
.mullvad_rest_handle(mullvad_api::proxy::ApiConnectionMode::Direct.into_repeat())
.await;
DevicesProxy::new(rest_handle)
}
Expand Down

0 comments on commit 0507f21

Please sign in to comment.