mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
revert test to 1.4
This commit is contained in:
@@ -372,11 +372,10 @@ def test_populate_annual_billing_with_defaults_sets_free_allowance_to_zero_if_pr
|
|||||||
populate_annual_billing_with_defaults, ["-y", 2022]
|
populate_annual_billing_with_defaults, ["-y", 2022]
|
||||||
)
|
)
|
||||||
|
|
||||||
stmt = select(AnnualBilling).where(
|
results = AnnualBilling.query.filter(
|
||||||
AnnualBilling.financial_year_start == 2022,
|
AnnualBilling.financial_year_start == 2022,
|
||||||
AnnualBilling.service_id == service.id,
|
AnnualBilling.service_id == service.id,
|
||||||
)
|
).all()
|
||||||
results = db.session.execute(stmt).scalars().all()
|
|
||||||
|
|
||||||
assert len(results) == 1
|
assert len(results) == 1
|
||||||
assert results[0].free_sms_fragment_limit == 0
|
assert results[0].free_sms_fragment_limit == 0
|
||||||
|
|||||||
Reference in New Issue
Block a user