Skip to content

Commit fe2c092

Browse files
committed
test: use initialize unaggregated receipts function
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 35b9952 commit fe2c092

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tap-agent/src/agent/sender_allocation.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1365,7 +1365,7 @@ pub mod tests {
13651365
}
13661366

13671367
// calculate unaggregated fee
1368-
let total_unaggregated_fees = state.calculate_unaggregated_fee().await.unwrap();
1368+
let total_unaggregated_fees = state.initialize_unaggregated_receipts().await.unwrap();
13691369

13701370
// Check that the unaggregated fees are correct.
13711371
assert_eq!(total_unaggregated_fees.value, 45u128);
@@ -1420,7 +1420,7 @@ pub mod tests {
14201420
.unwrap();
14211421
}
14221422

1423-
let total_unaggregated_fees = state.calculate_unaggregated_fee().await.unwrap();
1423+
let total_unaggregated_fees = state.initialize_unaggregated_receipts().await.unwrap();
14241424

14251425
// Check that the unaggregated fees are correct.
14261426
assert_eq!(total_unaggregated_fees.value, 35u128);

0 commit comments

Comments
 (0)