client-api: Fix recently broken test

This commit is contained in:
Jonas Platte 2021-04-13 13:57:28 +02:00
parent 355b462431
commit 19806cc9d1
No known key found for this signature in database
GPG Key ID: CC154DE0E30B7C67

View File

@ -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(),