From 1c82a24731ee61710da7125a99a2dd83c137add3 Mon Sep 17 00:00:00 2001 From: Joel Rebello Date: Fri, 6 Sep 2024 10:50:10 +0200 Subject: [PATCH] api/v1/conditions: update test method parameters --- pkg/api/v1/conditions/routes/handlers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/api/v1/conditions/routes/handlers_test.go b/pkg/api/v1/conditions/routes/handlers_test.go index 6d731dd4..93196ffb 100644 --- a/pkg/api/v1/conditions/routes/handlers_test.go +++ b/pkg/api/v1/conditions/routes/handlers_test.go @@ -1203,7 +1203,7 @@ func TestFirmwareInstallComposite(t *testing.T) { os.Setenv("CONDITION_API_FEATURE_INBAND_FIRMWARE", "true") } - got := r.firmwareInstallComposite(serverID, fwtp, tc.fwset) + got := r.firmwareInstallComposite(context.Background(), serverID, "foobar", fwtp, tc.fwset) assert.Equal(t, tc.expectConditions, len(got.Conditions)) for _, cond := range got.Conditions { assert.NotEmpty(t, cond.Kind)