Fix unit test
The recent change in error message caused a test to fail, this is now fixed. No functional changes.
This commit is contained in:
parent
38b45419ae
commit
8368feebac
@ -201,7 +201,7 @@ func TestSubmitJobWithEtag(t *testing.T) {
|
|||||||
err := mf.flamenco.SubmitJob(echoCtx)
|
err := mf.flamenco.SubmitJob(echoCtx)
|
||||||
assert.NoError(t, err)
|
assert.NoError(t, err)
|
||||||
assertResponseAPIError(t, echoCtx,
|
assertResponseAPIError(t, echoCtx,
|
||||||
http.StatusPreconditionFailed, "rejecting job, job type etag does not match")
|
http.StatusPreconditionFailed, "rejecting job because its settings are outdated, refresh the job type")
|
||||||
}
|
}
|
||||||
|
|
||||||
// Expect the job compiler to be called.
|
// Expect the job compiler to be called.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user