Commit 4e74d54
committed
fix: remove transaction commit from duplicate guild ID test
Database integrity constraints are enforced during flush(),
not just on commit(). Remove unnecessary commit() and rollback()
calls - the fixture handles transaction cleanup.
Fixes test: TestDatabaseIntegrity::test_duplicate_guild_id_rejected1 parent c1fe78a commit 4e74d54
1 file changed
+0
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
526 | 526 | | |
527 | 527 | | |
528 | 528 | | |
529 | | - | |
530 | 529 | | |
531 | 530 | | |
532 | 531 | | |
| |||
537 | 536 | | |
538 | 537 | | |
539 | 538 | | |
540 | | - | |
541 | | - | |
542 | 539 | | |
543 | 540 | | |
544 | 541 | | |
| |||
0 commit comments