Skip to content

Commit

Permalink
Rename to test_no_subscription_no_charges_no_invoice
Browse files Browse the repository at this point in the history
This should never happen in real life because all accounts are assigned a subscription, but is still a relevant test case to ensure that invoicing doesn't fail altogether
  • Loading branch information
nospame committed Dec 10, 2024
1 parent e760209 commit 893f6af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corehq/apps/accounting/tests/test_invoicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def test_no_invoice_after_end(self):
tasks.generate_invoices_based_on_date(invoice_date)
self.assertEqual(self.subscription.invoice_set.count(), 0)

def test_community_no_charges_no_invoice(self):
def test_no_subscription_no_charges_no_invoice(self):
"""
No invoices should be generated for domains that are not on a subscription and do not
have any per_excess charges on users or SMS messages
Expand Down

0 comments on commit 893f6af

Please sign in to comment.