mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user