diff --git a/ruma-client-api/src/r0/uiaa.rs b/ruma-client-api/src/r0/uiaa.rs index 9b4aa400..81d9780a 100644 --- a/ruma-client-api/src/r0/uiaa.rs +++ b/ruma-client-api/src/r0/uiaa.rs @@ -337,7 +337,7 @@ mod tests { session: 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!( from_json_slice::(uiaa_response.body()).unwrap(),