Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dastansam committed May 27, 2024
1 parent 3595d3f commit 3f6c2c1
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pallets/fiat-ramps/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ fn test_processing(statement_type: StatementTypes, response_type: ResponseTypes)
let (response_bytes, parsed_response) =
get_mock_response::<Test>(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(),
Expand Down Expand Up @@ -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(),
Expand Down Expand Up @@ -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(),
Expand All @@ -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(),
Expand Down Expand Up @@ -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(),
Expand Down

0 comments on commit 3f6c2c1

Please sign in to comment.