This commit is contained in:
parent
df85bad9a4
commit
1183ba0d73
@ -2,4 +2,4 @@ pipeline:
|
||||
test:
|
||||
image: rust
|
||||
commands:
|
||||
- cargo test
|
||||
- cargo test
|
||||
|
@ -6,14 +6,13 @@ use std::fmt::Debug;
|
||||
use std::net::SocketAddr;
|
||||
use std::path::{self, PathBuf};
|
||||
use std::sync::Arc;
|
||||
use std::time::{SystemTime, UNIX_EPOCH};
|
||||
use std::time::SystemTime;
|
||||
|
||||
use anyhow::Context;
|
||||
|
||||
use axum::body;
|
||||
use axum::extract::rejection::QueryRejection;
|
||||
use axum::extract::{Query, State};
|
||||
use chrono::Duration;
|
||||
|
||||
use ssh_cert_dist_common::*;
|
||||
|
||||
@ -475,7 +474,8 @@ mod tests {
|
||||
user_key,
|
||||
unix_time(SystemTime::now()),
|
||||
unix_time(SystemTime::now() + validity),
|
||||
);
|
||||
)
|
||||
.unwrap();
|
||||
|
||||
builder
|
||||
.valid_principal("git")
|
||||
|
Loading…
x
Reference in New Issue
Block a user