aboutsummaryrefslogtreecommitdiffstats
path: root/rust/tests
diff options
context:
space:
mode:
Diffstat (limited to 'rust/tests')
-rw-r--r--rust/tests/test_auth.rs3
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]