Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 785fd6f

Browse files
committed
fix sql tx references
1 parent 3f1806c commit 785fd6f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

coderd/idpsync/role_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ package idpsync_test
22

33
import (
44
"context"
5-
"database/sql"
65
"encoding/json"
76
"testing"
87

@@ -324,7 +323,7 @@ func TestNoopNoDiff(t *testing.T) {
324323
// and 'UpdateMemberRoles'.
325324
mDB.EXPECT().InTx(
326325
gomock.Any(), gomock.Any(),
327-
).DoAndReturn(func(f func(database.Store) error, _ *sql.TxOptions) error {
326+
).DoAndReturn(func(f func(database.Store) error, _ *database.TxOptions) error {
328327
err := f(mDB)
329328
return err
330329
})

0 commit comments

Comments
 (0)