Merge pull request #377 from alphagov/single_from_number

Replaced mmg from number and firetext from number with single from nu…
This commit is contained in:
NIcholas Staples
2016-06-09 10:41:39 +01:00
8 changed files with 9 additions and 14 deletions

View File

@@ -539,7 +539,7 @@ def mock_firetext_client(mocker, statsd_client=None):
statsd_client = statsd_client or mocker.Mock()
current_app = mocker.Mock(config={
'FIRETEXT_API_KEY': 'foo',
'FIRETEXT_NUMBER': 'bar'
'FROM_NUMBER': 'bar'
})
client.init_app(current_app, statsd_client)
return client
@@ -551,7 +551,7 @@ def mock_mmg_client(mocker, statsd_client=None):
statsd_client = statsd_client or mocker.Mock()()
current_app = mocker.Mock(config={
'MMG_API_KEY': 'foo',
'MMG_FROM_NUMBER': 'bar'
'FROM_NUMBER': 'bar'
})
client.init_app(current_app, statsd_client)
return client