diff --git a/tests/.gitignore b/tests/.gitignore --- a/tests/.gitignore +++ b/tests/.gitignore @@ -1 +1 @@ -go.sum +* diff --git a/tests/go.mod b/tests/go.mod --- a/tests/go.mod +++ b/tests/go.mod @@ -7,12 +7,12 @@ require ( github.com/jackc/pgx/v5 v5.3.1 // indirect github.com/jinzhu/now v1.1.5 github.com/lib/pq v1.10.8 - github.com/mattn/go-sqlite3 v1.14.16 // indirect + github.com/ncruces/go-sqlite3 v0.7.2 + github.com/ncruces/go-sqlite3/gormlite v0.0.0 gorm.io/driver/mysql v1.5.0 gorm.io/driver/postgres v1.5.0 - gorm.io/driver/sqlite v1.5.0 gorm.io/driver/sqlserver v1.5.1 - gorm.io/gorm v1.25.1 + gorm.io/gorm v1.25.2 ) -replace gorm.io/gorm => ../ +replace github.com/ncruces/go-sqlite3/gormlite => ../ diff --git a/tests/tests_test.go b/tests/tests_test.go --- a/tests/tests_test.go +++ b/tests/tests_test.go @@ -7,9 +7,11 @@ import ( "path/filepath" "time" + _ "github.com/ncruces/go-sqlite3/embed" + sqlite "github.com/ncruces/go-sqlite3/gormlite" + "gorm.io/driver/mysql" "gorm.io/driver/postgres" - "gorm.io/driver/sqlite" "gorm.io/driver/sqlserver" "gorm.io/gorm" "gorm.io/gorm/logger"