Skip to content

Commit

Permalink
integration_test: Improve get_balance test
Browse files Browse the repository at this point in the history
Add an additional call to `get_balance` after funding the wallet.
  • Loading branch information
tcharding committed Feb 10, 2025
1 parent 52cf6d3 commit 13c8e9f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion integration_test/tests/wallet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,11 @@ pub fn get_address_info() {
fn get_balance() {
let node = Node::new_with_default_wallet();
let json = node.client.get_balance().expect("getbalance");
assert!(json.into_model().is_ok())
assert!(json.into_model().is_ok());

node.fund_wallet();
let json = node.client.get_balance().expect("getbalance");
assert!(json.into_model().is_ok());
}

#[test]
Expand Down

0 comments on commit 13c8e9f

Please sign in to comment.