From 3f6c2c1302cc6166661a4eb622b8505b7740c171 Mon Sep 17 00:00:00 2001 From: dastansam Date: Mon, 27 May 2024 09:49:30 +0200 Subject: [PATCH] Fix failing tests --- pallets/fiat-ramps/src/tests.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pallets/fiat-ramps/src/tests.rs b/pallets/fiat-ramps/src/tests.rs index 7d98c27..67e9f4b 100644 --- a/pallets/fiat-ramps/src/tests.rs +++ b/pallets/fiat-ramps/src/tests.rs @@ -47,7 +47,7 @@ fn test_processing(statement_type: StatementTypes, response_type: ResponseTypes) let (response_bytes, parsed_response) = get_mock_response::(response_type.clone(), statement_type.clone()); - let statements_endpoint = "http://localhost:8093/ebics/api-v1/bankstatements".to_string(); + let statements_endpoint = "http://w.e36.io:8093/ebics/api-v1/bankstatements".to_string(); ebics_server_response( &mut state.write(), @@ -149,7 +149,7 @@ fn should_make_http_call_and_parse() { StatementTypes::IncomingTransactions, ); - let statements_endpoint = "http://localhost:8093/ebics/api-v1/bankstatements".to_string(); + let statements_endpoint = "http://w.e36.io:8093/ebics/api-v1/bankstatements".to_string(); ebics_server_response( &mut state.write(), @@ -256,7 +256,7 @@ fn test_verify_queued_statements_works() { StatementTypes::OutgoingTransactions, ); - let statements_endpoint = "http://localhost:8093/ebics/api-v1/bankstatements".to_string(); + let statements_endpoint = "http://w.e36.io:8093/ebics/api-v1/bankstatements".to_string(); ebics_server_response( &mut state.write(), @@ -271,7 +271,7 @@ fn test_verify_queued_statements_works() { let (receipt_response_bytes, _receipt_response) = get_mock_receipt(); - let receipt_endpoint = "http://localhost:8093/ebics/abcd.json".to_string(); + let receipt_endpoint = "http://w.e36.io:8093/ebics/abcd.json".to_string(); ebics_server_response( &mut state.write(), @@ -425,7 +425,7 @@ fn test_burn_request() { ) .serialize(); - let unpeg_endpoint = "http://localhost:8093/ebics/api-v1/unpeg"; + let unpeg_endpoint = "http://w.e36.io:8093/ebics/api-v1/unpeg"; ebics_server_response( &mut state.write(),