From 99b5cc75a224eaeb4c4f1f5eae676bd35a17abc4 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 29 Dec 2018 00:06:33 -0800 Subject: include unwrap() in tests --- rust/tests/test_auth.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); -- cgit v1.2.3