mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-11-29 17:21:13 +01:00
19 lines
362 B
Go
19 lines
362 B
Go
package stripe
|
|
|
|
import (
|
|
"testing"
|
|
"time"
|
|
)
|
|
|
|
func TestGraceEnforcer_MaxGraceDays(t *testing.T) {
|
|
if maxGraceDays != 14 {
|
|
t.Errorf("expected maxGraceDays=14, got %d", maxGraceDays)
|
|
}
|
|
}
|
|
|
|
func TestGraceEnforcer_CheckInterval(t *testing.T) {
|
|
if graceCheckInterval != 1*time.Hour {
|
|
t.Errorf("expected graceCheckInterval=1h, got %v", graceCheckInterval)
|
|
}
|
|
}
|