mirror of
https://github.com/go-gitea/gitea.git
synced 2025-08-22 16:18:01 +00:00
test: use the correct fields for the test case
This commit is contained in:
parent
7eebc7c820
commit
d2fd13836c
@ -57,7 +57,8 @@ func TestAPICreateOrgProject(t *testing.T) {
|
||||
assert.Equal(t, title, apiProject.Title)
|
||||
assert.Equal(t, description, apiProject.Description)
|
||||
assert.Equal(t, boardType, apiProject.BoardType)
|
||||
assert.Equal(t, "org17", apiProject.Creator.UserName)
|
||||
assert.Equal(t, "user2", apiProject.Creator.UserName)
|
||||
assert.Equal(t, "org17", apiProject.Owner.UserName)
|
||||
}
|
||||
|
||||
func TestAPICreateRepoProject(t *testing.T) {
|
||||
|
Loading…
Reference in New Issue
Block a user