mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
feat: migrate user regisration to use db_*
This commit is contained in:
@@ -150,6 +150,10 @@ pub async fn bad_post_req_test<T: Serialize>(
|
||||
.to_request(),
|
||||
)
|
||||
.await;
|
||||
if resp.status() != err.status_code() {
|
||||
let resp_err: ErrorToResponse = test::read_body_json(resp).await;
|
||||
panic!("error {}", resp_err.error);
|
||||
}
|
||||
assert_eq!(resp.status(), err.status_code());
|
||||
let resp_err: ErrorToResponse = test::read_body_json(resp).await;
|
||||
//println!("{}", txt.error);
|
||||
|
||||
Reference in New Issue
Block a user