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:
parent
41c7aa5a3a
commit
b59a905394
3 changed files with 4 additions and 4 deletions
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue