mirror of
https://github.com/pomerium/pomerium.git
synced 2025-05-29 00:47:17 +02:00
zero: set fixed start time for active users test (#5154)
This commit is contained in:
parent
6ee9e5238c
commit
42a975ce44
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue