Skip to content

fix: fix workspace status filter returning more statuses that requested #7732

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 14 commits into from
Jun 5, 2023
Prev Previous commit
Next Next commit
Add dbauthz system comment
  • Loading branch information
Emyrk committed May 31, 2023
commit aee97f8677b0bb684b983f42104ca86f8ea64756
3 changes: 2 additions & 1 deletion coderd/workspaces_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -569,7 +569,8 @@ func TestWorkspaceFilterAllStatus(t *testing.T) {
t.Skip(`This test takes too long with an actual database. Takes 10s on local machine`)
}

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