mirror of
https://github.com/bitwarden/server
synced 2025-12-10 05:13:48 +00:00
Milestone 2 Handler Update (#6564)
* fix(billing): update discount id * test(billing) update test
This commit is contained in:
@@ -269,6 +269,7 @@ public class UpcomingInvoiceHandlerTests
|
|||||||
Arg.Is<SubscriptionUpdateOptions>(o =>
|
Arg.Is<SubscriptionUpdateOptions>(o =>
|
||||||
o.Items[0].Id == priceSubscriptionId &&
|
o.Items[0].Id == priceSubscriptionId &&
|
||||||
o.Items[0].Price == priceId &&
|
o.Items[0].Price == priceId &&
|
||||||
|
o.Discounts[0].Coupon == CouponIDs.Milestone2SubscriptionDiscount &&
|
||||||
o.ProrationBehavior == "none"));
|
o.ProrationBehavior == "none"));
|
||||||
|
|
||||||
// Verify the updated invoice email was sent
|
// Verify the updated invoice email was sent
|
||||||
|
|||||||
Reference in New Issue
Block a user