mirror of
https://github.com/narrrl/proton-sdk-rs.git
synced 2026-11-03 16:41:26 +01:00
fmt
This commit is contained in:
1 parent
684ecb2abb
commit
14d69d7060
1 file changed
+3
-1
@@ -248,7 +248,9 @@ mod tests {
|
||||
|
||||
#[test]
|
||||
fn the_challenge_is_read_off_the_details_object() {
|
||||
let hv = gated_error().human_verification().expect("challenge present");
|
||||
let hv = gated_error()
|
||||
.human_verification()
|
||||
.expect("challenge present");
|
||||
assert_eq!(hv.token, "abc-123_XYZ");
|
||||
assert_eq!(hv.methods, ["captcha", "email", "sms"]);
|
||||
assert!(hv.supports_captcha());
|
||||
|
||||
Reference in new issue
Block a user