File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ async fn machine_single_principal_implicit_username() -> anyhow::Result<()> {
2929 . mechanism ( AuthMechanism :: MongoDbOidc )
3030 . oidc_callback ( oidc:: Callback :: machine ( move |_| {
3131 let call_count = cb_call_count. clone ( ) ;
32+ * call_count. lock ( ) . unwrap ( ) += 1 ;
3233 async move {
33- * call_count. lock ( ) . unwrap ( ) += 1 ;
3434 Ok ( oidc:: IdpServerResponse {
3535 access_token : tokio:: fs:: read_to_string ( "/tmp/tokens/test_user1" ) . await ?,
3636 expires : None ,
@@ -80,8 +80,8 @@ async fn human_single_principal_implicit_username() -> anyhow::Result<()> {
8080 . mechanism ( AuthMechanism :: MongoDbOidc )
8181 . oidc_callback ( oidc:: Callback :: human ( move |_| {
8282 let call_count = cb_call_count. clone ( ) ;
83+ * call_count. lock ( ) . unwrap ( ) += 1 ;
8384 async move {
84- * call_count. lock ( ) . unwrap ( ) += 1 ;
8585 Ok ( oidc:: IdpServerResponse {
8686 access_token : tokio:: fs:: read_to_string ( "/tmp/tokens/test_user1" ) . await ?,
8787 expires : None ,
You can’t perform that action at this time.
0 commit comments