mirror of
https://github.com/go-gitea/gitea.git
synced 2025-07-21 08:04:54 +02:00
Fix unit test on TestIssueList_LoadAttributes
This commit is contained in:
parent
0365eecd36
commit
ef8fa684b1
@ -69,7 +69,7 @@ func TestIssueList_LoadAttributes(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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user