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<()> {
29
29
. mechanism ( AuthMechanism :: MongoDbOidc )
30
30
. oidc_callback ( oidc:: Callback :: machine ( move |_| {
31
31
let call_count = cb_call_count. clone ( ) ;
32
+ * call_count. lock ( ) . unwrap ( ) += 1 ;
32
33
async move {
33
- * call_count. lock ( ) . unwrap ( ) += 1 ;
34
34
Ok ( oidc:: IdpServerResponse {
35
35
access_token : tokio:: fs:: read_to_string ( "/tmp/tokens/test_user1" ) . await ?,
36
36
expires : None ,
@@ -80,8 +80,8 @@ async fn human_single_principal_implicit_username() -> anyhow::Result<()> {
80
80
. mechanism ( AuthMechanism :: MongoDbOidc )
81
81
. oidc_callback ( oidc:: Callback :: human ( move |_| {
82
82
let call_count = cb_call_count. clone ( ) ;
83
+ * call_count. lock ( ) . unwrap ( ) += 1 ;
83
84
async move {
84
- * call_count. lock ( ) . unwrap ( ) += 1 ;
85
85
Ok ( oidc:: IdpServerResponse {
86
86
access_token : tokio:: fs:: read_to_string ( "/tmp/tokens/test_user1" ) . await ?,
87
87
expires : None ,
You can’t perform that action at this time.
0 commit comments