Skip to content

Commit d5babdf

Browse files
committed
stop using utc loc in test
1 parent 0fcfe57 commit d5babdf

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

enterprise/coderd/templates_test.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import (
1313
"github.com/coder/coder/v2/coderd/audit"
1414
"github.com/coder/coder/v2/coderd/coderdtest"
1515
"github.com/coder/coder/v2/coderd/database"
16-
"github.com/coder/coder/v2/coderd/database/dbtestutil"
1716
"github.com/coder/coder/v2/coderd/rbac"
1817
"github.com/coder/coder/v2/codersdk"
1918
"github.com/coder/coder/v2/cryptorand"
@@ -369,14 +368,10 @@ func TestTemplates(t *testing.T) {
369368
t.Run("UpdateLastUsedAt", func(t *testing.T) {
370369
t.Parallel()
371370

372-
// nolint:gocritic // https://github.com/coder/coder/issues/9682
373-
db, ps := dbtestutil.NewDB(t, dbtestutil.WithTimezone("UTC"))
374371
ctx := testutil.Context(t, testutil.WaitMedium)
375372
client, user := coderdenttest.New(t, &coderdenttest.Options{
376373
Options: &coderdtest.Options{
377374
IncludeProvisionerDaemon: true,
378-
Database: db,
379-
Pubsub: ps,
380375
},
381376
LicenseOptions: &coderdenttest.LicenseOptions{
382377
Features: license.Features{

0 commit comments

Comments
 (0)