test(azure/savings-plans): cover unsupported payment option in GetOfferingDetails - #673
Conversation
TestGetOfferingDetails_BadPaymentOption asserts that an unknown payment
option ("Quarterly") returns an error containing "unsupported payment
option" and does not silently fall back to no-upfront. Addresses the
CodeRabbit finding from PR #592.
|
Warning Rate limit exceeded
You’ve run out of usage credits. Purchase more in the billing tab. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
Adds the regression test CodeRabbit requested on PR #592 (already merged). #592 fixed the payment-option switch to return an error on an unrecognized option rather than silently falling back to no-upfront, but the guarding test was missing. This adds TestGetOfferingDetails_BadPaymentOption asserting an unsupported option (Quarterly) returns an 'unsupported payment option' error and does not fall back. savingsplans suite 35/35 green.