Skip to content

Commit aee97f8

Browse files
committed
Add dbauthz system comment
1 parent 558ef48 commit aee97f8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

coderd/workspaces_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -569,7 +569,8 @@ func TestWorkspaceFilterAllStatus(t *testing.T) {
569569
t.Skip(`This test takes too long with an actual database. Takes 10s on local machine`)
570570
}
571571

572-
// nolint:gocritic -- unit testing
572+
// For this test, we do not care about permissions.
573+
// nolint:gocritic // unit testing
573574
ctx := dbauthz.AsSystemRestricted(context.Background())
574575
db, pubsub := dbtestutil.NewDB(t)
575576
client := coderdtest.New(t, &coderdtest.Options{

0 commit comments

Comments
 (0)