diff --git a/crates/matrix-sdk/src/authentication/oauth/qrcode/grant.rs b/crates/matrix-sdk/src/authentication/oauth/qrcode/grant.rs index b741d4d96..b62e31fea 100644 --- a/crates/matrix-sdk/src/authentication/oauth/qrcode/grant.rs +++ b/crates/matrix-sdk/src/authentication/oauth/qrcode/grant.rs @@ -304,7 +304,7 @@ mod test { DeviceNotCreated, } - async fn request_login( + async fn request_login_with_scanned_qr_code( behaviour: BobBehaviour, qr_code_rx: oneshot::Receiver, check_code_tx: oneshot::Sender, @@ -555,7 +555,7 @@ mod test { // Let Bob request the login and run through the process. let bob_task = spawn(async move { - request_login( + request_login_with_scanned_qr_code( BobBehaviour::HappyPath, qr_code_rx, checkcode_tx, @@ -673,7 +673,7 @@ mod test { // Let Bob request the login and run through the process. let bob_task = spawn(async move { - request_login( + request_login_with_scanned_qr_code( BobBehaviour::UnexpectedMessageInsteadOfLoginProtocol, qr_code_rx, checkcode_tx, @@ -799,7 +799,7 @@ mod test { // Let Bob request the login and run through the process. let bob_task = spawn(async move { - request_login( + request_login_with_scanned_qr_code( BobBehaviour::DeviceAlreadyExists, qr_code_rx, checkcode_tx, @@ -936,7 +936,7 @@ mod test { // Let Bob request the login and run through the process. let bob_task = spawn(async move { - request_login( + request_login_with_scanned_qr_code( BobBehaviour::DeviceNotCreated, qr_code_rx, checkcode_tx,