Skip to content

Commit

Permalink
Fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
majst01 committed Nov 8, 2024
1 parent c9c7598 commit 30abd5c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/metal-api/internal/issues/issues_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,14 +90,14 @@ func TestFindIssues(t *testing.T) {
only: []Type{TypePowerSupplyFailure},
machines: func() metal.Machines {
defectPowerSupplyMachine := machineTemplate("power-supply-failure")
noPartitionMachine.IPMI = metal.IPMI{
defectPowerSupplyMachine.IPMI = metal.IPMI{
PowerSupplies: metal.PowerSupplies{
{Status: metal.PowerSupplyStatus{Health: "NO-OK", State: "Absent"}},
},
}

return metal.Machines{
noPartitionMachine,
defectPowerSupplyMachine,
machineTemplate("good"),
}
},
Expand Down

0 comments on commit 30abd5c

Please sign in to comment.