Skip to content

Commit

Permalink
Upgrade tests go.mod
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Oct 17, 2022
1 parent aa4312e commit 2a788fb
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ module gorm.io/gorm/tests
go 1.16

require (
github.com/golang-sql/civil v0.0.0-20220223132316-b832511892a9 // indirect
github.com/google/uuid v1.3.0
github.com/jinzhu/now v1.1.5
github.com/lib/pq v1.10.7
golang.org/x/crypto v0.0.0-20221005025214-4161e89ecf1b // indirect
gorm.io/driver/mysql v1.4.1
golang.org/x/crypto v0.0.0-20221012134737-56aed061732a // indirect
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/sqlite v1.4.1
gorm.io/driver/sqlserver v1.4.0
gorm.io/driver/sqlite v1.4.2
gorm.io/driver/sqlserver v1.4.1
gorm.io/gorm v1.24.0
)

Expand Down
2 changes: 1 addition & 1 deletion tests/sql_builder_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ func TestToSQL(t *testing.T) {
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
sql := DB.ToSQL(func(tx *gorm.DB) *gorm.DB {
Expand Down

0 comments on commit 2a788fb

Please sign in to comment.