diff options
author | Lunny Xiao <xiaolunwen@gmail.com> | 2019-10-11 14:44:43 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-11 14:44:43 +0800 |
commit | 46a12f196b1742a2462259ed3dd9c33c4c2f150b (patch) | |
tree | b8203c7d6d91841ce53a7b875135714b372fa1a5 /models/issue_test.go | |
parent | 9ff9f5ad1d8d2680c9c146831458afdbd4e641df (diff) | |
download | gitea-46a12f196b1742a2462259ed3dd9c33c4c2f150b.tar.gz gitea-46a12f196b1742a2462259ed3dd9c33c4c2f150b.zip |
Move change issue title from models to issue service package (#8456)
* move change issue title from models to issue service package
* make the change less
* fix typo
Diffstat (limited to 'models/issue_test.go')
-rw-r--r-- | models/issue_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/issue_test.go b/models/issue_test.go index 5b039bc1d5..0be3f68808 100644 --- a/models/issue_test.go +++ b/models/issue_test.go @@ -160,7 +160,7 @@ func TestUpdateIssueCols(t *testing.T) { issue.Content = "This should have no effect" now := time.Now().Unix() - assert.NoError(t, UpdateIssueCols(issue, "name")) + assert.NoError(t, updateIssueCols(x, issue, "name")) then := time.Now().Unix() updatedIssue := AssertExistsAndLoadBean(t, &Issue{ID: issue.ID}).(*Issue) |