summaryrefslogtreecommitdiffstats
path: root/src/routes/register.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/routes/register.rs')
-rw-r--r--src/routes/register.rs3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/routes/register.rs b/src/routes/register.rs
index 2181808..5e06ae6 100644
--- a/src/routes/register.rs
+++ b/src/routes/register.rs
@@ -76,7 +76,6 @@ mod tests {
use crate::init_router;
const JWT_SECRET: &str = "test-jwt-secret-token";
- const JWT_MAX_AGE: time::Duration = time::Duration::HOUR;
type TestResult<T = (), E = Box<dyn std::error::Error>> = std::result::Result<T, E>;
@@ -85,7 +84,6 @@ mod tests {
let state = Arc::new(AppState {
pool,
jwt_secret: JWT_SECRET.to_string(),
- jwt_max_age: JWT_MAX_AGE,
});
let router = init_router(state.clone());
@@ -119,7 +117,6 @@ mod tests {
let state = Arc::new(AppState {
pool,
jwt_secret: JWT_SECRET.to_string(),
- jwt_max_age: JWT_MAX_AGE,
});
let router = init_router(state.clone());