Skip to content

Commit f5717d0

Browse files
committed
Fix unit test on Test_Projects fail
1 parent ef8fa68 commit f5717d0

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

models/issues/issue_project.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,9 +144,10 @@ func IssueAssignOrRemoveProject(ctx context.Context, issue *Issue, doer *user_mo
144144
}
145145

146146
pi = append(pi, &project_model.ProjectIssue{
147-
IssueID: issue.ID,
148-
ProjectID: pID,
149-
Sorting: newSorting,
147+
IssueID: issue.ID,
148+
ProjectID: pID,
149+
ProjectColumnID: newColumnID,
150+
Sorting: newSorting,
150151
})
151152

152153
if _, err := CreateComment(ctx, &CreateCommentOptions{

0 commit comments

Comments
 (0)