Upgrade tests go.mod

This commit is contained in:
Jinzhu
2022-10-17 17:01:00 +08:00
parent aa4312ee74
commit 2a788fb20c
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -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 {