chore(coderd/rbac/rolestore): remove dbmem from tests (#18789)

Related to https://github.com/coder/coder/issues/15109
This commit is contained in:
Hugo Dutka
2025-07-08 16:31:20 +02:00
committed by GitHub
parent ac4be155d9
commit 321396d9d6
+2 -2
View File
@@ -8,7 +8,7 @@ import (
"github.com/coder/coder/v2/coderd/database"
"github.com/coder/coder/v2/coderd/database/dbgen"
"github.com/coder/coder/v2/coderd/database/dbmem"
"github.com/coder/coder/v2/coderd/database/dbtestutil"
"github.com/coder/coder/v2/coderd/rbac"
"github.com/coder/coder/v2/coderd/rbac/rolestore"
"github.com/coder/coder/v2/testutil"
@@ -17,7 +17,7 @@ import (
func TestExpandCustomRoleRoles(t *testing.T) {
t.Parallel()
db := dbmem.New()
db, _ := dbtestutil.NewDB(t)
org := dbgen.Organization(t, db, database.Organization{})