From 19806cc9d114af1971eb75a607117685f61c5a18 Mon Sep 17 00:00:00 2001 From: Jonas Platte Date: Tue, 13 Apr 2021 13:57:28 +0200 Subject: [PATCH] client-api: Fix recently broken test --- ruma-client-api/src/r0/uiaa.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(),