diff --git a/tests/upsert_test.go b/tests/upsert_test.go index c477571c..a7b53ab7 100644 --- a/tests/upsert_test.go +++ b/tests/upsert_test.go @@ -310,7 +310,7 @@ func TestFindOrCreate(t *testing.T) { } } -func TestSaveWithFileNotUpdate(t *testing.T) { +func TestUpdateWithMissWhere(t *testing.T) { type User struct { ID uint `gorm:"column:id;<-:create"` Name string `gorm:"column:name"`