File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
crates/tap-agent/src/agent Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -907,7 +907,6 @@ pub mod tests {
907907 } ,
908908 } ;
909909
910- const DUMMY_URL : & str = "http://localhost:1234" ;
911910 const RECEIPT_LIMIT : u64 = 1000 ;
912911
913912 async fn mock_escrow_subgraph ( ) -> ( MockServer , MockGuard ) {
@@ -986,14 +985,14 @@ pub mod tests {
986985 #[ bon:: builder]
987986 async fn create_sender_allocation (
988987 pgpool : PgPool ,
989- # [ builder ( default = DUMMY_URL . to_string ( ) ) ] sender_aggregator_endpoint : String ,
988+ sender_aggregator_endpoint : Option < String > ,
990989 escrow_subgraph_endpoint : & str ,
991990 #[ builder( default = 1000 ) ] rav_request_receipt_limit : u64 ,
992991 sender_account : Option < ActorRef < SenderAccountMessage > > ,
993992 ) -> ( ActorRef < SenderAllocationMessage > , Arc < Notify > ) {
994993 let args = create_sender_allocation_args (
995994 pgpool,
996- sender_aggregator_endpoint,
995+ sender_aggregator_endpoint. unwrap_or ( get_grpc_url ( ) . await ) ,
997996 escrow_subgraph_endpoint,
998997 rav_request_receipt_limit,
999998 sender_account,
You can’t perform that action at this time.
0 commit comments