package processing import "testing" func TestRetentionAgeIntervalAligned(t *testing.T) { if RetentionAgeInterval != "30 days" { t.Fatalf("RetentionAgeInterval=%q want 30 days", RetentionAgeInterval) } } func TestRetentionBatchLimitPositive(t *testing.T) { if RetentionBatchLimit <= 0 { t.Fatalf("RetentionBatchLimit=%d want > 0", RetentionBatchLimit) } } func TestCleanupExpiredNilPool(t *testing.T) { _, err := CleanupExpired(t.Context(), nil) if err == nil { t.Fatal("expected error for nil pool") } } func TestCleanupExpiredSyncJobsNilPool(t *testing.T) { _, err := CleanupExpiredSyncJobs(t.Context(), nil) if err == nil { t.Fatal("expected error for nil pool") } }