Skip to content

Commit

Permalink
api/v1/conditions: update test method parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
joelrebel committed Sep 6, 2024
1 parent cd6cca5 commit 1c82a24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/api/v1/conditions/routes/handlers_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1c82a24

Please sign in to comment.