1
1
mirror of https://github.com/go-gitea/gitea synced 2025-07-13 05:57:20 +00:00

Update heatmap fixtures to restore tests (#13224) (#13226)

`the hotfix day`
This commit is contained in:
6543
2020-10-21 00:39:42 +02:00
committed by GitHub
parent e6a82047ee
commit 9f9a53e361
3 changed files with 3 additions and 3 deletions

View File

@ -26,7 +26,7 @@ func TestUserHeatmap(t *testing.T) {
var heatmap []*models.UserHeatmapData
DecodeJSON(t, resp, &heatmap)
var dummyheatmap []*models.UserHeatmapData
dummyheatmap = append(dummyheatmap, &models.UserHeatmapData{Timestamp: 1571616000, Contributions: 1})
dummyheatmap = append(dummyheatmap, &models.UserHeatmapData{Timestamp: 1603152000, Contributions: 1})
assert.Equal(t, dummyheatmap, heatmap)
}