fix test borrow
This commit is contained in:
parent
ce90413870
commit
8d4f9ed3bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue