Skip to content

Commit

Permalink
fix refund out amount test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjatosba committed Dec 8, 2024
1 parent fbd7bf4 commit c6dfb81
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions tests/src/tests/streamswap_tests/finalize_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -763,13 +763,29 @@ mod finalize_stream_tests {
let stream_swap_funds = get_funds_from_res(res);
assert_eq!(
stream_swap_funds,
vec![(
String::from(test_accounts.creator_1.clone()),
Coin {
denom: "out_denom".to_string(),
amount: Uint128::new(1_000_000)
}
),]
vec![
(
String::from(test_accounts.creator_1.clone()),
Coin {
denom: "out_denom".to_string(),
amount: Uint128::new(10000)
},
),
(
String::from(test_accounts.creator_1.clone()),
Coin {
denom: "in_denom".to_string(),
amount: Uint128::new(197)
},
),
(
String::from(test_accounts.admin.clone()),
Coin {
denom: "in_denom".to_string(),
amount: Uint128::new(1)
},
)
]
);
}
}

0 comments on commit c6dfb81

Please sign in to comment.