well **** me now its fixed
This commit is contained in:
parent
6e66e89a2e
commit
1472572e3d
1 changed files with 19 additions and 22 deletions
|
@ -10,7 +10,6 @@ mod tests {
|
||||||
|
|
||||||
#[actix_web::test]
|
#[actix_web::test]
|
||||||
async fn test_auth_with_transaction() {
|
async fn test_auth_with_transaction() {
|
||||||
with_transaction(|_tx| async {
|
|
||||||
let db = get_database().await;
|
let db = get_database().await;
|
||||||
|
|
||||||
let app = test::init_service(
|
let app = test::init_service(
|
||||||
|
@ -35,7 +34,5 @@ mod tests {
|
||||||
);
|
);
|
||||||
|
|
||||||
assert!(resp_status.is_success(), "Expected success response");
|
assert!(resp_status.is_success(), "Expected success response");
|
||||||
})
|
|
||||||
.await;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue