corporate: Update stripe create_balance_transaction description.

This commit is contained in:
Lauryn Menard 2023-11-23 06:00:34 +01:00 committed by Tim Abbott
parent 1f1f1b913b
commit a00e687d02
4 changed files with 2 additions and 2 deletions

View File

@ -2525,7 +2525,7 @@ def switch_realm_from_standard_to_plus_plan(realm: Realm) -> None:
standard_plan.customer.stripe_customer_id,
amount=-1 * amount_to_credit_back_to_realm,
currency="usd",
description="Credit from early termination of Standard plan",
description="Credit from early termination of active plan",
)
switch_plan_tier(standard_plan, CustomerPlan.PLUS)
invoice_plan(standard_plan, plan_switch_time)

View File

@ -3577,7 +3577,7 @@ class StripeTest(StripeTestCase):
self.assertEqual(cb_txn.amount, -7200)
self.assertEqual(
cb_txn.description,
"Credit from early termination of Standard plan",
"Credit from early termination of active plan",
)
self.assertEqual(cb_txn.type, "adjustment")