File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -927,12 +927,21 @@ mod test {
927
927
#[ tokio:: test]
928
928
async fn adds_and_retrieves_spender_leaf ( ) {
929
929
let app = setup_dummy_app ( ) . await ;
930
+
930
931
let channel_context = app
931
932
. config
932
933
. find_chain_of ( DUMMY_CAMPAIGN . channel . token )
933
934
. expect ( "Dummy channel Token should be present in config!" )
934
935
. with ( DUMMY_CAMPAIGN . channel ) ;
935
936
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
+
936
945
insert_channel ( & app. pool , channel_context. context )
937
946
. await
938
947
. expect ( "should insert channel" ) ;
You can’t perform that action at this time.
0 commit comments