Update project version

This commit is contained in:
simon987
2019-02-28 21:45:33 -05:00
parent 67c67090cf
commit 31359b1770
3 changed files with 6 additions and 0 deletions

View File

@@ -137,6 +137,7 @@ func TestUpdateProjectValid(t *testing.T) {
Paused: true,
AssignRate: 1,
SubmitRate: 2,
Version: "VersionB",
}, pid, testAdminCtx)
if updateResp.Ok != true {
@@ -157,6 +158,9 @@ func TestUpdateProjectValid(t *testing.T) {
if proj.Project.GitRepo != "GitRepoB" {
t.Error()
}
if proj.Project.Version != "VersionB" {
t.Error()
}
if proj.Project.Priority != 2 {
t.Error()
}