Skip to content

Commit 50ce706

Browse files
committed
build(deps): update go.mod and mysql_test.go
1 parent 100f5ab commit 50ce706

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

go.mod

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ require (
66
github.com/go-oauth2/oauth2/v4 v4.5.2
77
github.com/json-iterator/go v1.1.12
88
gopkg.in/gorp.v2 v2.2.0
9-
github.com/DATA-DOG/go-sqlmock v1.5.0
10-
9+
github.com/DATA-DOG/go-sqlmock v1.5.0
1110
github.com/stretchr/testify v1.8.4
1211
)
1312

mysql_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
"github.com/DATA-DOG/go-sqlmock"
1010
"github.com/go-oauth2/oauth2/v4/models"
11-
_ "github.com/go-sql-driver/postgres"
11+
_ "github.com/lib/pq"
1212
. "github.com/smartystreets/goconvey/convey"
1313
"github.com/stretchr/testify/assert"
1414
"gopkg.in/gorp.v2"
@@ -132,7 +132,7 @@ func TestNewStoreWithOpts_ShouldReturnStoreNotNil(t *testing.T) {
132132
// ACTION
133133
store := NewStoreWithOpts(db,
134134
WithTableName(tableName),
135-
WithSQLDialect(gorp.MySQLDialect{Engine: "InnoDB", Encoding: "UTF8"}),
135+
WithSQLDialect(gorp.{}),
136136
WithGCTimeInterval(1000),
137137
)
138138

0 commit comments

Comments
 (0)