From 94cfd726900c82e0d218fab77cc0fa14717bab1d Mon Sep 17 00:00:00 2001 From: Julius Joska Date: Fri, 9 Oct 2026 14:05:39 +0200 Subject: [PATCH] chore(relay): merge the duplicated test module in apns.rs cargo test on the published tree failed with E0428 since 1.2.0. --- rust/sepot-relay/src/apns.rs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/rust/sepot-relay/src/apns.rs b/rust/sepot-relay/src/apns.rs index 1e079e6..59154cf 100644 --- a/rust/sepot-relay/src/apns.rs +++ b/rust/sepot-relay/src/apns.rs @@ -201,13 +201,4 @@ mod tests { assert!(limit <= 30 * 86_400, "APNs nedrží notifikace déle než 30 dní"); } - #[test] - fn budicek_drzi_apns_stejne_dlouho_jako_fronta() { - let ted = DateTime::parse_from_rfc3339("2026-09-29T18:00:00Z") - .unwrap() - .with_timezone(&Utc); - let limit = wake_expiration(ted) - ted.timestamp(); - assert_eq!(limit, crate::state::QUEUE_TTL_DAYS * 86_400); - assert!(limit <= 30 * 86_400, "APNs nedrží notifikace déle než 30 dní"); - } }