mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
error correction, tests for err branches, rm get_token, get_token,
delete captcha
This commit is contained in:
@@ -159,6 +159,7 @@ pub async fn bad_post_req_test<T: Serialize>(
|
||||
.await;
|
||||
assert_eq!(dup_token_resp.status(), s);
|
||||
let txt: ErrorToResponse = test::read_body_json(dup_token_resp).await;
|
||||
//println!("{}", txt.error);
|
||||
assert_eq!(txt.error, format!("{}", dup_err));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user