We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Test_parseInsightsStartAndEndTime
1 parent dd2f799 commit 6af1f6aCopy full SHA for 6af1f6a
coderd/insights_internal_test.go
@@ -69,7 +69,7 @@ func Test_parseInsightsStartAndEndTime(t *testing.T) {
69
endTime: thisHourRoundUp.Format(layout),
70
},
71
wantStartTime: time.Date(2023, 7, today.Day(), 0, 0, 0, 0, time.UTC),
72
- 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),
73
wantOk: true,
74
75
{
0 commit comments