Skip to content

Commit 2879bc2

Browse files
committed
test: revert test
1 parent a2ee4ce commit 2879bc2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

crates/tap-agent/src/agent/sender_account.rs

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1701,21 +1701,20 @@ pub mod tests {
17011701
.as_nanos() as u64
17021702
}
17031703

1704-
#[rstest::rstest]
1705-
async fn test_update_receipt_fees_no_rav(
1706-
#[future(awt)] basic_sender_account: TestSenderAccount,
1707-
) {
1704+
#[sqlx::test(migrations = "../../migrations")]
1705+
async fn test_update_receipt_fees_no_rav(pgpool: PgPool) {
1706+
let (sender_account, _, prefix, _) = create_sender_account().pgpool(pgpool).call().await;
1707+
17081708
// create a fake sender allocation
17091709
let (triggered_rav_request, _, _) = create_mock_sender_allocation(
1710-
basic_sender_account.prefix,
1710+
prefix,
17111711
SENDER.1,
17121712
ALLOCATION_ID_0,
1713-
basic_sender_account.sender_account.clone(),
1713+
sender_account.clone(),
17141714
)
17151715
.await;
17161716

1717-
basic_sender_account
1718-
.sender_account
1717+
sender_account
17191718
.cast(SenderAccountMessage::UpdateReceiptFees(
17201719
ALLOCATION_ID_0,
17211720
ReceiptFees::NewReceipt(TRIGGER_VALUE - 1, get_current_timestamp_u64_ns()),

0 commit comments

Comments
 (0)