chore: fix Test_parseInsightsStartAndEndTime test (#8754)

This commit is contained in:
Colin Adler
2023-07-26 18:27:30 -05:00
committed by GitHub
parent dd2f79995b
commit 6af1f6a9d9

View File

@ -69,7 +69,7 @@ func Test_parseInsightsStartAndEndTime(t *testing.T) {
endTime: thisHourRoundUp.Format(layout),
},
wantStartTime: time.Date(2023, 7, today.Day(), 0, 0, 0, 0, time.UTC),
wantEndTime: time.Date(2023, 7, today.Day(), thisHourRoundUp.Hour(), 0, 0, 0, time.UTC),
wantEndTime: time.Date(2023, 7, thisHourRoundUp.Day(), thisHourRoundUp.Hour(), 0, 0, 0, time.UTC),
wantOk: true,
},
{