This commit is contained in:
nvrl committed 2026-07-20 00:07:30 +02:00
1 parent 684ecb2abb
commit 14d69d7060
1 file changed
+3 -1
+3 -1
View File
@@ -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());