From 3b429dde69f9746b00aadcd95594645f6665daef Mon Sep 17 00:00:00 2001 From: Tommy Verrall Date: Tue, 21 Oct 2025 16:29:26 +0200 Subject: [PATCH] Fix broken tests in CI --- common/http-api-client/src/tests.rs | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/common/http-api-client/src/tests.rs b/common/http-api-client/src/tests.rs index fffb2eb991..01e89e40c6 100644 --- a/common/http-api-client/src/tests.rs +++ b/common/http-api-client/src/tests.rs @@ -243,10 +243,12 @@ fn from_network_configures_multiple_urls_and_retries() { ]); // Build client from network details - let client = ClientBuilder::from_network(&network_details) - .expect("Failed to create client from network") - .build() - .expect("Failed to build client"); + let client = ClientBuilder::new_with_fronted_urls( + network_details.nym_api_urls.clone().unwrap_or_default(), + ) + .expect("Failed to create client from network") + .build() + .expect("Failed to build client"); // Verify all URLs were configured assert_eq!(