Fix unit test on Test_Projects fail

This commit is contained in:
Tyrone Yeh 2025-05-08 13:19:58 +08:00
parent ef8fa684b1
commit f5717d045c
No known key found for this signature in database
GPG Key ID: AC8B5AA00375E170

View File

@ -144,9 +144,10 @@ func IssueAssignOrRemoveProject(ctx context.Context, issue *Issue, doer *user_mo
} }
pi = append(pi, &project_model.ProjectIssue{ pi = append(pi, &project_model.ProjectIssue{
IssueID: issue.ID, IssueID: issue.ID,
ProjectID: pID, ProjectID: pID,
Sorting: newSorting, ProjectColumnID: newColumnID,
Sorting: newSorting,
}) })
if _, err := CreateComment(ctx, &CreateCommentOptions{ if _, err := CreateComment(ctx, &CreateCommentOptions{