Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
linting
  • Loading branch information
Emyrk committed Oct 29, 2024
commit 245f6dfba3c24f14a11c4aa114c03589dd17fcd2
6 changes: 1 addition & 5 deletions enterprise/coderd/workspacequota_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,7 @@ func TestWorkspaceSerialization(t *testing.T) {
t.Skip("Serialization errors only occur in postgres")
}

db, ps := dbtestutil.NewDB(t)
var _ = ps
db, _ := dbtestutil.NewDB(t)

user := dbgen.User(t, db, database.User{})
otherUser := dbgen.User(t, db, database.User{})
Expand Down Expand Up @@ -655,7 +654,6 @@ func TestWorkspaceSerialization(t *testing.T) {
one := newCommitter(t, db, myWorkspace.Workspace, myWorkspace.Build)
two := newCommitter(t, db, myOtherWorkspace.Workspace, myOtherWorkspace.Build)

var _, _ = one, two
// Run order
one.GetQuota(ctx, t)
one.GetAllowance(ctx, t)
Expand Down Expand Up @@ -714,7 +712,6 @@ func TestWorkspaceSerialization(t *testing.T) {
one := newCommitter(t, db, myWorkspace.Workspace, myWorkspace.Build)
two := newCommitter(t, db, myOtherWorkspace.Workspace, myOtherWorkspace.Build)

var _, _ = one, two
// Run order
one.GetQuota(ctx, t)
one.GetAllowance(ctx, t)
Expand Down Expand Up @@ -776,7 +773,6 @@ func TestWorkspaceSerialization(t *testing.T) {
one := newCommitter(t, db, myWorkspace.Workspace, myWorkspace.Build)
two := newCommitter(t, db, myOtherWorkspace.Workspace, myOtherWorkspace.Build)

var _, _ = one, two
// Run order
one.GetQuota(ctx, t)
one.GetAllowance(ctx, t)
Expand Down
Loading