Merge branch 'master' into master
This commit is contained in:
commit
59c278d78b
@ -535,7 +535,7 @@ func TestTransactionWithBlock(t *testing.T) {
|
||||
})
|
||||
})
|
||||
|
||||
if err := DB.First(&User{}, "name = ?", "transcation").Error; err == nil {
|
||||
if err := DB.First(&User{}, "name = ?", "transcation-3").Error; err == nil {
|
||||
t.Errorf("Should not find record after panic rollback")
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user