client-api: Fix recently broken test
This commit is contained in:
parent
355b462431
commit
19806cc9d1
@ -337,7 +337,7 @@ mod tests {
|
|||||||
session: None,
|
session: None,
|
||||||
auth_error: None,
|
auth_error: None,
|
||||||
};
|
};
|
||||||
let uiaa_response = UiaaResponse::AuthResponse(uiaa_info).try_into_http_response();
|
let uiaa_response = UiaaResponse::AuthResponse(uiaa_info).try_into_http_response().unwrap();
|
||||||
|
|
||||||
assert_matches!(
|
assert_matches!(
|
||||||
from_json_slice::<UiaaInfo>(uiaa_response.body()).unwrap(),
|
from_json_slice::<UiaaInfo>(uiaa_response.body()).unwrap(),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user