From 8368feebac8c580540b7628bc1976a8e48663ff0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 1 Sep 2022 15:17:04 +0200 Subject: [PATCH] Fix unit test The recent change in error message caused a test to fail, this is now fixed. No functional changes. --- internal/manager/api_impl/jobs_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/manager/api_impl/jobs_test.go b/internal/manager/api_impl/jobs_test.go index 4a2f567c..140d4716 100644 --- a/internal/manager/api_impl/jobs_test.go +++ b/internal/manager/api_impl/jobs_test.go @@ -201,7 +201,7 @@ func TestSubmitJobWithEtag(t *testing.T) { err := mf.flamenco.SubmitJob(echoCtx) assert.NoError(t, err) 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.