Pulse/internal/api/subscription_state_reconciler_test.go
2026-03-18 16:06:30 +00:00

18 lines
389 B
Go

package api
import (
"testing"
"time"
)
func TestReconcileInterval(t *testing.T) {
if reconcileInterval != 6*time.Hour {
t.Errorf("expected reconcileInterval=6h, got %v", reconcileInterval)
}
}
func TestStaleSubscriptionStateWindow(t *testing.T) {
if staleSubscriptionState != 48*time.Hour {
t.Errorf("expected staleSubscriptionState=48h, got %v", staleSubscriptionState)
}
}