From f2d03cda96eb5febbf9801f6b6cf5daa37220bc9 Mon Sep 17 00:00:00 2001 From: 6543 <6543@obermui.de> Date: Fri, 27 Dec 2019 21:30:58 +0100 Subject: [API] Extend times API (#9200) Extensively extend the times API. close #8833; close #8513; close #8559 --- models/issue_milestone_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models/issue_milestone_test.go') diff --git a/models/issue_milestone_test.go b/models/issue_milestone_test.go index 787b849cce..5b7d19aa4d 100644 --- a/models/issue_milestone_test.go +++ b/models/issue_milestone_test.go @@ -287,7 +287,7 @@ func TestMilestoneList_LoadTotalTrackedTimes(t *testing.T) { assert.NoError(t, miles.LoadTotalTrackedTimes()) - assert.Equal(t, miles[0].TotalTrackedTime, int64(3662)) + assert.Equal(t, int64(3682), miles[0].TotalTrackedTime) } func TestCountMilestonesByRepoIDs(t *testing.T) { @@ -361,7 +361,7 @@ func TestLoadTotalTrackedTime(t *testing.T) { assert.NoError(t, milestone.LoadTotalTrackedTime()) - assert.Equal(t, milestone.TotalTrackedTime, int64(3662)) + assert.Equal(t, int64(3682), milestone.TotalTrackedTime) } func TestGetMilestonesStats(t *testing.T) { -- cgit v1.2.3