clear up where we use restore_provider_details

it now only needs to be used when you're:
* updating providers in ways that will create history (eg through
  regular api calls)
* altering more than just priority in test setup (eg setting inactive,
  deleting, or adding a provider)
This commit is contained in:
Leo Hemsted
2019-11-11 16:35:18 +00:00
parent 3c63ccb159
commit 4a6a228cc2
3 changed files with 15 additions and 16 deletions

View File

@@ -565,7 +565,6 @@ def test_should_set_notification_billable_units_if_sending_to_provider_fails(
def test_should_send_sms_to_international_providers(
restore_provider_details,
sample_template,
sample_user,
mocker