Merge pull request #336 from yhua123/patch-2

Update hbapiaddprj_test.go
This commit is contained in:
Wenkai Yin 2016-06-14 17:38:25 +08:00 committed by GitHub
commit 6282584654

View File

@ -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.