mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-20 14:29:51 -04:00
Use annual_billing tables at backend for getting and updating free_sms_fragment_limit
This commit is contained in:
@@ -2327,3 +2327,17 @@ def mock_get_aggregate_platform_stats(mocker):
|
||||
|
||||
}
|
||||
return mocker.patch('app.service_api_client.get_aggregate_platform_stats', return_value=stats)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_get_free_sms_fragment_limit(mocker):
|
||||
sample_limit = 250000
|
||||
return mocker.patch('app.billing_api_client.get_free_sms_fragment_limit_for_year',
|
||||
return_value=sample_limit)
|
||||
|
||||
|
||||
@pytest.fixture(scope='function')
|
||||
def mock_create_or_update_free_sms_fragment_limit(mocker):
|
||||
sample_limit = 250000
|
||||
return mocker.patch('app.billing_api_client.create_or_update_free_sms_fragment_limit_for_year',
|
||||
return_value=sample_limit)
|
||||
|
||||
Reference in New Issue
Block a user