Skip to content

Commit

Permalink
chore: fix middleware tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Theodus committed Aug 21, 2024
1 parent 7293d4c commit 59656ec
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/middleware/request_id.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ mod tests {
//* When
// The service must be ready before calling it
svc.ready().await.expect("service is ready");
svc.call(req);
let _ = svc.call(req).await;

let (r, _) = handle
.next_request()
Expand Down Expand Up @@ -195,11 +195,11 @@ mod tests {
//* When
// The service must be ready before calling it
svc.ready().await.expect("service is ready");
svc.call(req1);
let _ = svc.call(req1).await;

// Wait for the service to be ready again before calling it
svc.ready().await.expect("service is ready");
svc.call(req2);
let _ = svc.call(req2).await;

let (r1, _) = handle
.next_request()
Expand Down Expand Up @@ -243,7 +243,7 @@ mod tests {
//* When
// The service must be ready before calling it
svc.ready().await.expect("service is ready");
svc.call(req);
let _ = svc.call(req).await;

let (r, _) = handle
.next_request()
Expand Down

0 comments on commit 59656ec

Please sign in to comment.