Update heatmap fixtures to restore tests (#8615)

* Update heatmap fixtures to restore tests
* Add hint to check the fixture age on fail
This commit is contained in:
zeripath authored and GitHub committed 2019-10-21 21:19:53 +01:00
1 parent 41c7aa5a3a
commit b59a905394
3 files changed
+4 -4

No files matched your search

+1 -1
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: 1540080000, Contributions: 1})
dummyheatmap = append(dummyheatmap, &models.UserHeatmapData{Timestamp: 1571616000, Contributions: 1})
assert.Equal(t, dummyheatmap, heatmap)
}