add debug message for sqlserver failure

This commit is contained in:
Krisdiano 2025-05-30 18:02:12 +08:00
parent 636f90fbcd
commit 23c65aaf3d

View File

@ -589,7 +589,7 @@ func TestCreateWithDisableLastInsertID(t *testing.T) {
}()
err = DB.Create(&user).Error
if err != nil {
t.Fatalf("it should be nil")
t.Fatalf("it should be nil, got %v", err)
}
}