forked from mirror/gorm
Upgrade tests go.mod
This commit is contained in:
parent
aa4312ee74
commit
2a788fb20c
10
tests/go.mod
10
tests/go.mod
|
@ -3,15 +3,15 @@ module gorm.io/gorm/tests
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
|
|
||||||
github.com/google/uuid v1.3.0
|
github.com/google/uuid v1.3.0
|
||||||
github.com/jinzhu/now v1.1.5
|
github.com/jinzhu/now v1.1.5
|
||||||
github.com/lib/pq v1.10.7
|
github.com/lib/pq v1.10.7
|
||||||
golang.org/x/crypto v0.0.0-20221005025214-4161e89ecf1b // indirect
|
golang.org/x/crypto v0.0.0-20221012134737-56aed061732a // indirect
|
||||||
gorm.io/driver/mysql v1.4.1
|
golang.org/x/text v0.3.8 // indirect
|
||||||
|
gorm.io/driver/mysql v1.4.3
|
||||||
gorm.io/driver/postgres v1.4.4
|
gorm.io/driver/postgres v1.4.4
|
||||||
gorm.io/driver/sqlite v1.4.1
|
gorm.io/driver/sqlite v1.4.2
|
||||||
gorm.io/driver/sqlserver v1.4.0
|
gorm.io/driver/sqlserver v1.4.1
|
||||||
gorm.io/gorm v1.24.0
|
gorm.io/gorm v1.24.0
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -367,7 +367,7 @@ func TestToSQL(t *testing.T) {
|
||||||
t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
|
t.Skip("Skip SQL Server for this test, because it too difference with other dialects.")
|
||||||
}
|
}
|
||||||
|
|
||||||
date, _ := time.Parse("2006-01-02", "2021-10-18")
|
date, _ := time.ParseInLocation("2006-01-02", "2021-10-18", time.Local)
|
||||||
|
|
||||||
// find
|
// find
|
||||||
sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
|
sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
|
||||||
|
|
Loading…
Reference in New Issue