Skip to content

Commit 321396d

Browse files
authored
chore(coderd/rbac/rolestore): remove dbmem from tests (#18789)
Related to #15109
1 parent ac4be15 commit 321396d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

coderd/rbac/rolestore/rolestore_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/coder/coder/v2/coderd/database"
1010
"github.com/coder/coder/v2/coderd/database/dbgen"
11-
"github.com/coder/coder/v2/coderd/database/dbmem"
11+
"github.com/coder/coder/v2/coderd/database/dbtestutil"
1212
"github.com/coder/coder/v2/coderd/rbac"
1313
"github.com/coder/coder/v2/coderd/rbac/rolestore"
1414
"github.com/coder/coder/v2/testutil"
@@ -17,7 +17,7 @@ import (
1717
func TestExpandCustomRoleRoles(t *testing.T) {
1818
t.Parallel()
1919

20-
db := dbmem.New()
20+
db, _ := dbtestutil.NewDB(t)
2121

2222
org := dbgen.Organization(t, db, database.Organization{})
2323

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy