Skip to content

Commit e14728e

Browse files
Emyrkjohnstcn
andauthored
Update coderd/database/dbauthz/groupsauth_test.go
Co-authored-by: Cian Johnston <cian@coder.com>
1 parent 0b9711e commit e14728e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

coderd/database/dbauthz/groupsauth_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ func TestGroupsAuth(t *testing.T) {
2727

2828
authz := rbac.NewAuthorizer(prometheus.NewRegistry())
2929

30-
db := dbmem.New()
31-
db = dbauthz.New(db, authz, slogtest.Make(t, &slogtest.Options{
30+
db := dbauthz.New(dbmem.New(), authz, slogtest.Make(t, &slogtest.Options{
3231
IgnoreErrors: true,
3332
}), coderdtest.AccessControlStorePointer())
3433

0 commit comments

Comments
 (0)