error correction, tests for err branches, rm get_token, get_token,

delete captcha
This commit is contained in:
realaravinth
2021-07-17 17:43:53 +05:30
parent 6f690734c5
commit 8f87efeeb3
14 changed files with 252 additions and 114 deletions

View File

@@ -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));
}