0
0
mirror of https://github.com/go-gitea/gitea.git synced 2025-07-21 16:45:03 +02:00

Fix unit test on TestIssueLoadAttributes

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

View File

@ -420,7 +420,7 @@ func TestIssueLoadAttributes(t *testing.T) {
assert.NotNil(t, issue.Projects[0])
assert.Equal(t, int64(1), issue.Projects[0].ID)
} else {
assert.Nil(t, issue.Projects[0])
assert.Nil(t, issue.Projects)
}
}
}