aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-29 00:06:33 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-29 00:06:33 -0800
commit99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4 (patch)
treec92de7d48a416825799a27faaff794e312ee9cf6 /rust/tests
parent156b10220a50f6f441e7484235e227316f26761e (diff)
downloadfatcat-99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4.tar.gz
fatcat-99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4.zip
include unwrap() in tests
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_auth.rs2
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());