Skip to content

Commit 190940f

Browse files
committed
parallel unit test
1 parent dba617d commit 190940f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

coderd/httpmw/authorize_test.go

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,19 @@ import (
1111

1212
"github.com/coder/coder/coderd/rbac"
1313

14-
"github.com/coder/coder/coderd/database"
1514
"github.com/google/uuid"
1615

17-
"github.com/coder/coder/coderd/database/databasefake"
18-
"github.com/coder/coder/coderd/httpmw"
16+
"github.com/coder/coder/coderd/database"
17+
1918
"github.com/go-chi/chi/v5"
2019
"github.com/stretchr/testify/require"
20+
21+
"github.com/coder/coder/coderd/database/databasefake"
22+
"github.com/coder/coder/coderd/httpmw"
2123
)
2224

2325
func TestExtractUserRoles(t *testing.T) {
26+
t.Parallel()
2427
testCases := []struct {
2528
Name string
2629
AddUser func(db database.Store) (database.User, []string, string)

0 commit comments

Comments
 (0)