diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 15:18:36 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-01-08 15:18:36 -0800 |
commit | fee4f9e8957f7f51acb320ec880de166377807f7 (patch) | |
tree | a59cf33ef129a84f73fe8a0e0313f572bbb9f418 /rust/tests | |
parent | bb4a5e47bae054ad9abe500f1a81d30db4e65306 (diff) | |
download | fatcat-fee4f9e8957f7f51acb320ec880de166377807f7.tar.gz fatcat-fee4f9e8957f7f51acb320ec880de166377807f7.zip |
iterate on macaroon time caveat names
Diffstat (limited to 'rust/tests')
-rw-r--r-- | rust/tests/test_auth.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/rust/tests/test_auth.rs b/rust/tests/test_auth.rs index 5ccbb6cb..412b67e8 100644 --- a/rust/tests/test_auth.rs +++ b/rust/tests/test_auth.rs @@ -18,8 +18,7 @@ fn test_macaroons() { c.create_token(editor_id, None).unwrap(); // create token w/ expiration - let tomorrow = Utc::now() + chrono::Duration::days(1); - c.create_token(editor_id, Some(tomorrow)).unwrap(); + c.create_token(editor_id, Some(chrono::Duration::days(1))).unwrap(); } #[test] |