Skip to content

Commit

Permalink
fix post_consignment_fail test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
zoedberg committed Nov 13, 2024
1 parent a920f58 commit e3a80c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/wallet/test/rust_only.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,11 @@ fn post_consignment_fail() {
fake_txid.to_string(),
Some(0),
);
assert_matches!(result, Err(Error::Proxy { details: m }) if m.contains("error sending request for url"));
assert_matches!(
result,
Err(Error::Proxy { details: m })
if m.contains("error sending request for url")
|| m.contains("request or response body error for url"));

// invalid transport endpoint
let invalid_proxy_url = &format!("http://{PROXY_HOST_MOD_API}");
Expand Down

0 comments on commit e3a80c2

Please sign in to comment.