mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-05 22:47:02 -04:00
test(sdk): Fix compilation error
Introduced by merging #4886 and #4887 around the same time. Signed-off-by: Kévin Commaille <zecakeh@tedomum.fr>
This commit is contained in:
committed by
Damir Jelić
parent
d5ceb5f99a
commit
b2cd81a992
@@ -1430,5 +1430,6 @@ async fn test_logout() {
|
||||
// This returns an error because it requires a HTTPS server URI, or to be able
|
||||
// to call `OAuth::insecure_rewrite_https_to_http()`, but at least we are
|
||||
// testing the OAuth branch inside `Client::logout()`.
|
||||
assert_matches!(res, Err(Error::OAuth(OAuthError::Logout(OAuthTokenRevocationError::Url(_)))));
|
||||
assert_matches!(res, Err(Error::OAuth(oauth_error)));
|
||||
assert_matches!(*oauth_error, OAuthError::Logout(OAuthTokenRevocationError::Url(_)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user