mirror of
https://github.com/simon987/task_tracker.git
synced 2025-12-13 23:09:02 +00:00
Update project version
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user