Skip to content

Commit 6af1f6a

Browse files
authored
chore: fix Test_parseInsightsStartAndEndTime test (#8754)
1 parent dd2f799 commit 6af1f6a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

coderd/insights_internal_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ func Test_parseInsightsStartAndEndTime(t *testing.T) {
6969
endTime: thisHourRoundUp.Format(layout),
7070
},
7171
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),
72+
wantEndTime: time.Date(2023, 7, thisHourRoundUp.Day(), thisHourRoundUp.Hour(), 0, 0, 0, time.UTC),
7373
wantOk: true,
7474
},
7575
{

0 commit comments

Comments
 (0)