Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Jun 12, 2022
1 parent 1812bee commit a13984c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion services/issue/issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,8 @@ func TestIssue_DeleteIssue(t *testing.T) {
left, err := issues_model.IssueNoDependenciesLeft(db.DefaultContext, issue1)
assert.NoError(t, err)
assert.False(t, left)
err = deleteIssue(&issues_model.Issue{ID: 2})

err = deleteIssue(issue2)
assert.NoError(t, err)
left, err = issues_model.IssueNoDependenciesLeft(db.DefaultContext, issue1)
assert.NoError(t, err)
Expand Down

0 comments on commit a13984c

Please sign in to comment.