diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-29 00:06:33 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-29 00:06:33 -0800 |
commit | 99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4 (patch) | |
tree | c92de7d48a416825799a27faaff794e312ee9cf6 /rust | |
parent | 156b10220a50f6f441e7484235e227316f26761e (diff) | |
download | fatcat-99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4.tar.gz fatcat-99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4.zip |
include unwrap() in tests
Diffstat (limited to 'rust')
-rw-r--r-- | rust/tests/test_auth.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/tests/test_auth.rs b/rust/tests/test_auth.rs index 45956036..5b04d595 100644 --- a/rust/tests/test_auth.rs +++ b/rust/tests/test_auth.rs @@ -41,7 +41,7 @@ fn test_auth_db() { assert_eq!(editor_row.id, editor_id.to_uuid()); // revoke token - revoke_tokens(&conn, editor_id); + revoke_tokens(&conn, editor_id).unwrap(); // verification should fail assert!(c.parse_macaroon_token(&conn, &token).is_err()); |