Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
lunny committed Dec 7, 2019
1 parent e286a07 commit e21ba3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/issue_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ func testInsertIssue(t *testing.T, title, content string) {
Title: title,
Content: content,
}
err := NewIssue(repo, &issue, nil, nil)
err := NewIssue(DefaultDBContext(), repo, &issue, nil, nil)
assert.NoError(t, err)

var newIssue Issue
Expand Down

0 comments on commit e21ba3d

Please sign in to comment.