From 86879aaaada0edc936bf2e2575d99db754cec48c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Thu, 17 Mar 2022 16:19:45 +0100 Subject: [PATCH] Manager: adjust unit test to fit new command/task names in job compiler --- internal/manager/job_compilers/job_compilers_test.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/internal/manager/job_compilers/job_compilers_test.go b/internal/manager/job_compilers/job_compilers_test.go index 60862282..6fa2707f 100644 --- a/internal/manager/job_compilers/job_compilers_test.go +++ b/internal/manager/job_compilers/job_compilers_test.go @@ -110,9 +110,9 @@ func TestSimpleBlenderRenderHappy(t *testing.T) { tVideo := aj.Tasks[4] // This should be a video encoding task assert.NotEmpty(t, tVideo.UUID) - assert.Equal(t, "create-video", tVideo.Name) + assert.Equal(t, "preview-video", tVideo.Name) assert.Equal(t, 1, len(tVideo.Commands)) - assert.Equal(t, "create-video", tVideo.Commands[0].Name) + assert.Equal(t, "frames-to-video", tVideo.Commands[0].Name) assert.EqualValues(t, AuthoredCommandParameters{ "exe": "{ffmpeg}", "inputGlob": "/render/sprites/farm_output/promo/square_ellie/square_ellie.lighting_light_breakdown2__intermediate-2006-01-02_090405/*.png", @@ -193,9 +193,9 @@ func TestSimpleBlenderRenderWindowsPaths(t *testing.T) { tVideo := aj.Tasks[4] // This should be a video encoding task assert.NotEmpty(t, tVideo.UUID) - assert.Equal(t, "create-video", tVideo.Name) + assert.Equal(t, "preview-video", tVideo.Name) assert.Equal(t, 1, len(tVideo.Commands)) - assert.Equal(t, "create-video", tVideo.Commands[0].Name) + assert.Equal(t, "frames-to-video", tVideo.Commands[0].Name) assert.EqualValues(t, AuthoredCommandParameters{ "exe": "{ffmpeg}", "inputGlob": "R:/sprites/farm_output/promo/square_ellie/square_ellie.lighting_light_breakdown2__intermediate-2006-01-02_090405/*.png",