Add reserved_object remove/add-guard/upsert test coverage - #561
Add reserved_object remove/add-guard/upsert test coverage#561zaidshabbir25 wants to merge 1 commit into
Conversation
Extend 027_reserved_object.pl with coverage for: - spock.reserved_object_remove(): removes operator-added rows, and is rejected by the guard for built-in rows. - spock.reserved_object_add() against a built-in: rejected via the guard on its leading UPDATE, leaving the built-in row unchanged. - reserved_object_add() upsert: a second call for the same (name, kind) updates the existing row in place instead of duplicating or erroring. The added rows are removed within the test, and a baseline operator-row count assertion keeps the later pg_dump/restore round-trip counts valid. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughChangesReserved object mutation tests
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Up to standards ✅🟢 Issues
|
Extend 027_reserved_object.pl with coverage for:
The added rows are removed within the test, and a baseline operator-row count assertion keeps the later pg_dump/restore round-trip counts valid.