diff options
author | 6543 <6543@obermui.de> | 2020-10-21 00:39:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-10-20 17:39:25 -0500 |
commit | 48a80096bbc7bb4b0fef487df8f176c08f0bf609 (patch) | |
tree | b78a19afaa149686d0171327e5837dff8a2a87ec /models | |
parent | 70cb9e38e29e7233bfc60ee69ad3e4300981c8f0 (diff) | |
download | gitea-48a80096bbc7bb4b0fef487df8f176c08f0bf609.tar.gz gitea-48a80096bbc7bb4b0fef487df8f176c08f0bf609.zip |
Update heatmap fixtures to restore tests (#13224)
* hotfix
* update ...
Diffstat (limited to 'models')
-rw-r--r-- | models/fixtures/action.yml | 2 | ||||
-rw-r--r-- | models/user_heatmap_test.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/models/fixtures/action.yml b/models/fixtures/action.yml index e8a6d531f2..eb92aeedbe 100644 --- a/models/fixtures/action.yml +++ b/models/fixtures/action.yml @@ -5,7 +5,7 @@ act_user_id: 2 repo_id: 2 is_private: true - created_unix: 1571686356 + created_unix: 1603228283 - id: 2 diff --git a/models/user_heatmap_test.go b/models/user_heatmap_test.go index c2825d9ff0..c9d33db29b 100644 --- a/models/user_heatmap_test.go +++ b/models/user_heatmap_test.go @@ -17,7 +17,7 @@ func TestGetUserHeatmapDataByUser(t *testing.T) { CountResult int JSONResult string }{ - {2, 1, `[{"timestamp":1571616000,"contributions":1}]`}, + {2, 1, `[{"timestamp":1603152000,"contributions":1}]`}, {3, 0, `[]`}, } // Prepare |