fix(仪表盘): 修正分区迁移与范围测试

This commit is contained in:
yangjianbo
2026-01-11 19:01:15 +08:00
parent 4b66ee2f8f
commit 48613558d4
2 changed files with 5 additions and 5 deletions

View File

@@ -311,7 +311,7 @@ func (s *UsageLogRepoSuite) TestDashboardStatsWithRange_Fallback() {
now := time.Now().UTC()
todayStart := truncateToDayUTC(now)
rangeStart := todayStart.Add(-24 * time.Hour)
rangeEnd := now
rangeEnd := now.Add(1 * time.Second)
user1 := mustCreateUser(s.T(), s.client, &service.User{Email: "range-u1@test.com"})
user2 := mustCreateUser(s.T(), s.client, &service.User{Email: "range-u2@test.com"})