chore: Rename databasefake --> dbfake (#6011)

This commit is contained in:
Steven Masley
2023-02-02 19:28:55 -06:00
committed by GitHub
parent f60f06e2c6
commit 8b424f03c2
29 changed files with 152 additions and 152 deletions
+3 -3
View File
@@ -11,7 +11,7 @@ import (
"cdr.dev/slog/sloggers/slogtest"
"github.com/coder/coder/coderd/database"
"github.com/coder/coder/coderd/database/databasefake"
"github.com/coder/coder/coderd/database/dbfake"
"github.com/coder/coder/coderd/metricscache"
"github.com/coder/coder/codersdk"
"github.com/coder/coder/testutil"
@@ -162,7 +162,7 @@ func TestCache_TemplateUsers(t *testing.T) {
t.Run(tt.name, func(t *testing.T) {
t.Parallel()
var (
db = databasefake.New()
db = dbfake.New()
cache = metricscache.New(db, slogtest.Make(t, nil), testutil.IntervalFast)
)
@@ -289,7 +289,7 @@ func TestCache_BuildTime(t *testing.T) {
ctx := context.Background()
var (
db = databasefake.New()
db = dbfake.New()
cache = metricscache.New(db, slogtest.Make(t, nil), testutil.IntervalFast)
)