diff options
author | zeripath <art27@cantab.net> | 2019-10-21 21:19:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-21 21:19:53 +0100 |
commit | b59a9053941b2762f0dc514fdb05b51d74784b5b (patch) | |
tree | dcfcacbb477d57dc71134b5e54eaa6783e934694 /integrations/api_user_heatmap_test.go | |
parent | 41c7aa5a3ae7ac0e568ad2267ed76fd0681d0489 (diff) | |
download | gitea-b59a9053941b2762f0dc514fdb05b51d74784b5b.tar.gz gitea-b59a9053941b2762f0dc514fdb05b51d74784b5b.zip |
Update heatmap fixtures to restore tests (#8615)
* Update heatmap fixtures to restore tests
* Add hint to check the fixture age on fail
Diffstat (limited to 'integrations/api_user_heatmap_test.go')
-rw-r--r-- | integrations/api_user_heatmap_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/api_user_heatmap_test.go b/integrations/api_user_heatmap_test.go index 5245bb0a26..2e2636ce94 100644 --- a/integrations/api_user_heatmap_test.go +++ b/integrations/api_user_heatmap_test.go @@ -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) } |