mirror of
https://github.com/NLnetLabs/krill.git
synced 2026-09-20 16:37:43 +02:00
Use a fixed date for testing apnic RFC 6492
This commit is contained in:
@@ -1028,7 +1028,7 @@ mod tests {
|
||||
let cer_der = include_bytes!("../../../test-resources/remote/apnic-id.der");
|
||||
let cer = IdCert::decode(cer_der.as_ref()).unwrap();
|
||||
|
||||
msg.validate(&cer).unwrap();
|
||||
msg.validate_at(&cer, Time::utc(2019, 07, 25, 0, 0, 0)).unwrap();
|
||||
}
|
||||
|
||||
#[test]
|
||||
|
||||
Reference in New Issue
Block a user