Skip to content

Commit

Permalink
fix(pubky): unit test bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Nuhvi committed Sep 27, 2024
1 parent e01a9c4 commit 560972c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pubky/src/shared/auth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,10 +305,9 @@ mod tests {
.unwrap();
}

let session = pubkyauth_response.await.unwrap().unwrap();
let public_key = pubkyauth_response.await.unwrap();

assert_eq!(session.pubky(), &pubky);
assert_eq!(session.capabilities(), &capabilities.0);
assert_eq!(&public_key, &pubky);

// Test access control enforcement

Expand Down

0 comments on commit 560972c

Please sign in to comment.