fix: align test assertion with rollback behavior #40

Merged
JustinZeus merged 1 commit from mypi-fix into main 2026-03-01 23:18:05 +01:00
JustinZeus commented 2026-03-01 23:17:58 +01:00 (Migrated from github.com)

The upsert rolls back the entire transaction on partial failure, so new_pub_count and link count should be consistent (both 0), not assuming the first publication survived.

The upsert rolls back the entire transaction on partial failure, so new_pub_count and link count should be consistent (both 0), not assuming the first publication survived.
Sign in to join this conversation.
No description provided.