Skip to content

Commit fcfa5d2

Browse files
committed
fixed failing test
1 parent 7d4c3da commit fcfa5d2

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

sentry/src/routes/channel.rs

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -927,12 +927,21 @@ mod test {
927927
#[tokio::test]
928928
async fn adds_and_retrieves_spender_leaf() {
929929
let app = setup_dummy_app().await;
930+
930931
let channel_context = app
931932
.config
932933
.find_chain_of(DUMMY_CAMPAIGN.channel.token)
933934
.expect("Dummy channel Token should be present in config!")
934935
.with(DUMMY_CAMPAIGN.channel);
935936

937+
let deposit = AdapterDeposit {
938+
total: BigNum::from_str("100000000000000000000").expect("should convert"), // 100 DAI
939+
still_on_create2: BigNum::from_str("1000000000000000000").expect("should convert"), // 1 DAI
940+
};
941+
app.adapter
942+
.client
943+
.add_deposit_call(channel_context.context.id(), *CREATOR, deposit.clone());
944+
936945
insert_channel(&app.pool, channel_context.context)
937946
.await
938947
.expect("should insert channel");

0 commit comments

Comments
 (0)