Skip to content

Commit b7283f7

Browse files
committed
test: fix uneeded notify in test
Signed-off-by: Gustavo Inacio <[email protected]>
1 parent 5d32527 commit b7283f7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1544,7 +1544,7 @@ pub mod tests {
15441544
#[sqlx::test(migrations = "../../migrations")]
15451545
async fn test_remove_sender_account(pgpool: PgPool) {
15461546
let (mock_escrow_subgraph_server, _mock_ecrow_subgraph) = mock_escrow_subgraph().await;
1547-
let (sender_account, notify, prefix, _) = create_sender_account(
1547+
let (sender_account, _, prefix, _) = create_sender_account(
15481548
pgpool,
15491549
vec![*ALLOCATION_ID_0].into_iter().collect(),
15501550
TRIGGER_VALUE,
@@ -1555,8 +1555,6 @@ pub mod tests {
15551555
)
15561556
.await;
15571557

1558-
notify.notified().await;
1559-
15601558
// check if allocation exists
15611559
let sender_allocation_id = format!("{}:{}:{}", prefix.clone(), SENDER.1, *ALLOCATION_ID_0);
15621560
let Some(sender_allocation) =

0 commit comments

Comments
 (0)