billing: Fix incorrect variable names in test_compute_plan_parameters.

Seems to have introduced in e883567146
This commit is contained in:
Vishnu KS 2021-09-15 17:18:09 +05:30 committed by Tim Abbott
parent ec5ded3f2a
commit 9585486905
1 changed files with 3 additions and 3 deletions

View File

@ -3176,11 +3176,11 @@ class BillingHelpersTest(ZulipTestCase):
((False, CustomerPlan.MONTHLY, 87.15), (anchor, month_later, month_later, 102)), ((False, CustomerPlan.MONTHLY, 87.15), (anchor, month_later, month_later, 102)),
] ]
with patch("corporate.lib.stripe.timezone_now", return_value=anchor): with patch("corporate.lib.stripe.timezone_now", return_value=anchor):
for (automanage_licenses, discount, free_trial), output in test_cases: for (automanage_licenses, billing_schedule, discount), output in test_cases:
output_ = compute_plan_parameters( output_ = compute_plan_parameters(
automanage_licenses, automanage_licenses,
discount, billing_schedule,
None if free_trial is None else Decimal(free_trial), None if discount is None else Decimal(discount),
) )
self.assertEqual(output_, output) self.assertEqual(output_, output)