Skip to content

Commit

Permalink
fix up
Browse files Browse the repository at this point in the history
  • Loading branch information
easyCZ authored and roboquat committed Jul 12, 2022
1 parent ad5dcd7 commit de91fda
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions components/usage/pkg/controller/reconciler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ func TestUsageReport_CreditSummaryForTeams(t *testing.T) {
db.WorkspaceInstanceForUsage{
UsageAttributionID: db.NewUserAttributionID(uuid.New().String()),
},
//dbtest.NewWorkspaceInstance(t, db.WorkspaceInstance{}),
},
},
Expected: map[string]int64{},
Expand All @@ -98,12 +97,6 @@ func TestUsageReport_CreditSummaryForTeams(t *testing.T) {
Name: "two workspace instances",
Report: map[db.AttributionID][]db.WorkspaceInstanceForUsage{
teamAttributionID: {
//db.WorkspaceInstanceForUsage{
// UsageAttributionID: teamAttributionID,
// WorkspaceClass: defaultWorkspaceClass,
// CreationTime: db.NewVarcharTime(time.Date(2022, 05, 30, 00, 00, 00, 00, time.UTC)),
// StoppedTime: db.NewVarcharTime(time.Date(2022, 06, 1, 1, 0, 0, 0, time.UTC)),
//},
db.WorkspaceInstanceForUsage{
// has 1 day and 23 hours of usage
UsageAttributionID: teamAttributionID,
Expand Down

0 comments on commit de91fda

Please sign in to comment.