Use the revise api endpoints without current-year parameter

This commit is contained in:
venusbb
2017-11-09 13:18:09 +00:00
parent 66b49821a7
commit 1ab4681ff5
9 changed files with 77 additions and 123 deletions

View File

@@ -2436,7 +2436,7 @@ def mock_get_free_sms_fragment_limit(mocker):
@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 mocker.patch('app.billing_api_client.create_or_update_free_sms_fragment_limit',
return_value=sample_limit)