Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Sep 26, 2024
1 parent f96daf4 commit 669d9de
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/project-reservations_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ size-b project-b
{
name: "list with filters",
cmd: func(want []*models.V1MachineReservationResponse) []string {
args := []string{"project", "machine-reservation", "list", "--tenant", *want[0].Tenant, "--project", *want[0].Projectid, "--size", *want[0].Sizeid}
args := []string{"project", "machine-reservation", "list", "--tenant", *want[0].Tenant, "--project", *want[0].Projectid, "--size", *want[0].Sizeid, "--id", *want[0].ID}
assertExhaustiveArgs(t, args, "sort-by")
return args
},
Expand All @@ -100,6 +100,7 @@ size-b project-b
Projectid: pointer.Pointer("project-a"),
Sizeid: pointer.Pointer("size-a"),
Tenant: pointer.Pointer("fits"),
ID: pointer.Pointer("1"),
})), nil).Return(&project.ListMachineReservationsOK{
Payload: []*models.V1MachineReservationResponse{
machineReservation1,
Expand Down

0 comments on commit 669d9de

Please sign in to comment.