From 8d4f9ed3bbe8b24661d597ac584a608196bc126a Mon Sep 17 00:00:00 2001 From: Meta Vens Date: Wed, 2 Dec 2026 23:16:42 +0100 Subject: [PATCH] fix test borrow --- crates/ghostlight-dungeon/src/api.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ghostlight-dungeon/src/api.rs b/crates/ghostlight-dungeon/src/api.rs index 8ed3a81..08ea736 100644 --- a/crates/ghostlight-dungeon/src/api.rs +++ b/crates/ghostlight-dungeon/src/api.rs @@ -1526,7 +1526,7 @@ mod tests { let (status, _, _) = complete(&app, &handle, &[("ghostlight_auth", &secret)]).await; assert_eq!(status, StatusCode::OK, "the second device needs no invite"); assert_eq!(*app.heimdall.grants.lock().unwrap().last().unwrap(), false, "and asks for no grant"); - let catalog = app.state.catalog.lock().await; + let mut catalog = app.state.catalog.lock().await; assert_eq!(catalog.sign_in("deru", None, Utc::now()).unwrap().unwrap(), "deru", "the same account, whichever device"); }