feat(coverage): bidmodifiers add/set typed fixtures (#137, #183)#185
Conversation
There was a problem hiding this comment.
Pull request overview
Adds schema-gate payload fixtures for bidmodifiers.add and bidmodifiers.set so they are covered by the generic dry-run payload coverage tests (instead of being excluded), aligning bidmodifiers with the typed-fixture coverage strategy used across other mutating commands.
Changes:
- Added
PAYLOAD_CASESfixtures forbidmodifiers add(MOBILE_ADJUSTMENT) andbidmodifiers set(Id + value shape). - Removed
bidmodifiers.addandbidmodifiers.setfromDRY_RUN_PAYLOAD_EXCLUSIONSwhile keepingbidmodifiers.deleteexcluded per existing rationale.
- Add PAYLOAD_CASES for bidmodifiers.add (Mobile adjustment) and bidmodifiers.set. - Remove corresponding entries from DRY_RUN_PAYLOAD_EXCLUSIONS. - bidmodifiers.delete kept excluded per #136 (Helper/legacy surface). Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
89546bc to
7b3ce45
Compare
|
@claude review. Focus on critical issues: bugs, security vulnerabilities, logical errors, data loss risks, performance problems. Do NOT nitpick style, naming conventions, minor formatting, or subjective preferences — only flag issues that could break functionality or cause real harm in production. |
|
Claude finished @axisrow's task in 2m 59s —— View job Claude Code Review
Verdict: no critical issues. Fixtures are minimal, correctly shaped against the WSDL, and use the right code paths. Safe to merge. VerificationWalked both fixtures through
{"method": "add", "params": {"BidModifiers": [{"MobileAdjustment": {"BidModifier": 120}, "CampaignId": 12}]}}
{"method": "set", "params": {"BidModifiers": [{"Id": 10, "BidModifier": 150}]}}
One observation (non-blocking)The schema gate in No security, performance, or data-loss concerns. The diff is purely test-fixture additions and registry bookkeeping. |
Fixes #137. Fixes #183 (bucket A — bidmodifiers).
Summary
Verification