Fix one more test set up

This commit is contained in:
Preetha Appan
2019-05-14 16:13:41 -05:00
parent dee16743b4
commit ea37019d7f

View File

@@ -841,6 +841,7 @@ func TestHTTP_JobDeployment(t *testing.T) {
state := s.Agent.server.State()
d := mock.Deployment()
d.JobID = j.ID
d.JobCreateIndex = resp.JobModifyIndex
assert.Nil(state.UpsertDeployment(1000, d), "UpsertDeployment")
// Make the HTTP request