Skip to content

Commit

Permalink
More tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Jan 9, 2024
1 parent 279ff26 commit e9ed3f3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/metal-api/internal/service/partition-service_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -289,5 +289,5 @@ func TestPartitionCapacity(t *testing.T) {
require.Equal(t, 5, c.Total)
require.Equal(t, 0, c.Free)
require.Equal(t, 3, c.Reservations)
require.Equal(t, 0, c.UsedReservations)
require.Equal(t, 1, c.UsedReservations)
}
2 changes: 1 addition & 1 deletion cmd/metal-api/internal/testdata/testdata.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ var (
{
Amount: 3,
PartitionIDs: []string{Partition1.ID},
ProjectID: "a",
ProjectID: "p1",
},
},
}
Expand Down

0 comments on commit e9ed3f3

Please sign in to comment.