File tree 5 files changed +14
-10
lines changed 5 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -9,9 +9,10 @@ import (
9
9
10
10
"cdr.dev/slog"
11
11
12
+ "github.com/google/uuid"
13
+
12
14
"github.com/coder/coder/coderd/database"
13
15
"github.com/coder/coder/coderd/rbac"
14
- "github.com/google/uuid"
15
16
)
16
17
17
18
var _ database.Store = (* AuthzQuerier )(nil )
Original file line number Diff line number Diff line change @@ -8,16 +8,17 @@ import (
8
8
9
9
"cdr.dev/slog/sloggers/slogtest"
10
10
11
+ "github.com/google/uuid"
12
+ "github.com/stretchr/testify/require"
13
+ "golang.org/x/xerrors"
14
+
11
15
"cdr.dev/slog"
12
16
"github.com/coder/coder/coderd/coderdtest"
13
17
"github.com/coder/coder/coderd/database"
14
18
"github.com/coder/coder/coderd/database/dbauthz"
15
19
"github.com/coder/coder/coderd/database/dbfake"
16
20
"github.com/coder/coder/coderd/database/dbgen"
17
21
"github.com/coder/coder/coderd/rbac"
18
- "github.com/google/uuid"
19
- "github.com/stretchr/testify/require"
20
- "golang.org/x/xerrors"
21
22
)
22
23
23
24
func TestPing (t * testing.T ) {
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ import (
7
7
"errors"
8
8
"time"
9
9
10
- "github.com/coder/coder/coderd/util/slice "
10
+ "github.com/google/uuid "
11
11
"golang.org/x/xerrors"
12
12
13
13
"github.com/coder/coder/coderd/database"
14
14
"github.com/coder/coder/coderd/rbac"
15
- "github.com/google/uuid "
15
+ "github.com/coder/coder/coderd/util/slice "
16
16
)
17
17
18
18
func (q * AuthzQuerier ) Ping (ctx context.Context ) (time.Duration , error ) {
Original file line number Diff line number Diff line change @@ -5,12 +5,13 @@ import (
5
5
"encoding/json"
6
6
"time"
7
7
8
+ "github.com/google/uuid"
9
+ "github.com/stretchr/testify/require"
10
+
8
11
"github.com/coder/coder/coderd/database"
9
12
"github.com/coder/coder/coderd/database/dbgen"
10
13
"github.com/coder/coder/coderd/rbac"
11
14
"github.com/coder/coder/coderd/util/slice"
12
- "github.com/google/uuid"
13
- "github.com/stretchr/testify/require"
14
15
)
15
16
16
17
func (s * MethodTestSuite ) TestAPIKey () {
Original file line number Diff line number Diff line change @@ -5,10 +5,11 @@ import (
5
5
"database/sql"
6
6
"time"
7
7
8
- "github.com/coder/coder/coderd/database"
9
- "github.com/coder/coder/coderd/database/dbgen"
10
8
"github.com/google/uuid"
11
9
"github.com/stretchr/testify/require"
10
+
11
+ "github.com/coder/coder/coderd/database"
12
+ "github.com/coder/coder/coderd/database/dbgen"
12
13
)
13
14
14
15
func (s * MethodTestSuite ) TestSystemFunctions () {
You can’t perform that action at this time.
0 commit comments