add debug message for sqlserver failure
This commit is contained in:
parent
636f90fbcd
commit
23c65aaf3d
@ -589,7 +589,7 @@ func TestCreateWithDisableLastInsertID(t *testing.T) {
|
|||||||
}()
|
}()
|
||||||
err = DB.Create(&user).Error
|
err = DB.Create(&user).Error
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatalf("it should be nil")
|
t.Fatalf("it should be nil, got %v", err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user