mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-10 00:26:14 +02:00
Fix unit test on TestIssueList_LoadAttributes
This commit is contained in:
1 file changed
+1
-1
@@ -69,7 +69,7 @@ func TestIssueList_LoadAttributes(t *testing.T) {
|
|||||||
assert.NotNil(t, issue.Projects[0])
|
assert.NotNil(t, issue.Projects[0])
|
||||||
assert.Equal(t, int64(1), issue.Projects[0].ID)
|
assert.Equal(t, int64(1), issue.Projects[0].ID)
|
||||||
} else {
|
} else {
|
||||||
assert.Nil(t, issue.Projects[0])
|
assert.Nil(t, issue.Projects)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user