diff options
Diffstat (limited to 'models/issue_milestone_test.go')
-rw-r--r-- | models/issue_milestone_test.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models/issue_milestone_test.go b/models/issue_milestone_test.go index c9b53f4f4a..3ea63d2d6b 100644 --- a/models/issue_milestone_test.go +++ b/models/issue_milestone_test.go @@ -232,6 +232,8 @@ func TestChangeMilestoneAssign(t *testing.T) { assert.NoError(t, PrepareTestDatabase()) issue := AssertExistsAndLoadBean(t, &Issue{RepoID: 1}).(*Issue) doer := AssertExistsAndLoadBean(t, &User{ID: 2}).(*User) + assert.NotNil(t, issue) + assert.NotNil(t, doer) oldMilestoneID := issue.MilestoneID issue.MilestoneID = 2 |