Skip to content

Commit 1d2c485

Browse files
committed
No transaction
1 parent ccd8fe1 commit 1d2c485

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/delete_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -420,7 +420,7 @@ func TestHardDeleteAfterSoftDelete(t *testing.T) {
420420
}
421421

422422
func TestDeleteWithLimitAndOrder(t *testing.T) {
423-
if err := DB.Exec(`DROP TABLE "users" CASCADE CONSTRAINTS`).Commit().Error; err != nil {
423+
if err := DB.Exec(`DROP TABLE "users" CASCADE CONSTRAINTS`).Error; err != nil {
424424
if !strings.Contains(err.Error(), "ORA-00942") {
425425
t.Fatalf("Failed to migrate, got error: %s", err)
426426
}

0 commit comments

Comments
 (0)