zero: set fixed start time for active users test (#5154)

This commit is contained in:
Kenneth Jenkins 2024-06-26 17:29:36 -07:00 committed by GitHub
parent 6ee9e5238c
commit 42a975ce44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,7 +12,7 @@ import (
func TestActiveUsers(t *testing.T) {
t.Parallel()
startTime := time.Now().UTC()
startTime := time.Date(2024, time.June, 26, 12, 0, 0, 0, time.UTC)
// Create a new counter that resets on a daily interval
c := sessions.NewActiveUsersCounter(sessions.ResetDailyUTC, startTime)