mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
Merge pull request #336 from yhua123/patch-2
Update hbapiaddprj_test.go
This commit is contained in:
commit
6282584654
@ -21,7 +21,7 @@ func TestAddProject(t *testing.T) {
|
|||||||
prjUsr := &HarborAPI.UsrInfo{"unknown", "unknown"}
|
prjUsr := &HarborAPI.UsrInfo{"unknown", "unknown"}
|
||||||
|
|
||||||
var project HarborAPI.Project
|
var project HarborAPI.Project
|
||||||
project.ProjectName = "testProject"
|
project.ProjectName = "testproject"
|
||||||
project.Public = true
|
project.Public = true
|
||||||
|
|
||||||
//case 1: admin login fail, expect project creation fail.
|
//case 1: admin login fail, expect project creation fail.
|
||||||
|
Loading…
Reference in New Issue
Block a user