Skip to content

Test remove_price_tiers flat-price fallback - #314

Merged
mikewheeleer merged 1 commit into
Agentpay-Org:mainfrom
emirykl:grantfox/issue-210-add-tests-for-remove-price-tiers-falling-back-to
Jul 27, 2026
Merged

Test remove_price_tiers flat-price fallback#314
mikewheeleer merged 1 commit into
Agentpay-Org:mainfrom
emirykl:grantfox/issue-210-add-tests-for-remove-price-tiers-falling-back-to

Conversation

@emirykl

@emirykl emirykl commented Jul 27, 2026

Copy link
Copy Markdown
Contributor

Summary

  • verify removing price tiers clears the stored tier schedule
  • verify unchanged usage switches from tiered billing back to the flat service price
  • verify removing tiers from a service without tiers is idempotent

Verification

  • cargo fmt --all -- --check
  • cargo build --locked
  • cargo test test_remove_price_tiers -- --nocapture (3 passed)
  • Full cargo test --locked: 332 passed; the unrelated existing test_transfer_service_ownership_genuine_transfer_emits_event test fails because it expects two events but receives one

Fixes #210

@mikewheeleer

Copy link
Copy Markdown
Contributor

neat work @emirykl — thanks for the care. merging 🌱

@mikewheeleer
mikewheeleer merged commit 165ee95 into Agentpay-Org:main Jul 27, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add tests for remove_price_tiers falling back to the flat service price

2 participants