mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 15:46:07 -05:00
Replaced mmg from number and firetext from number with single from number.
Fix merge mistake. Fix tests from merge. Update config to include correct staging and live names.
This commit is contained in:
@@ -547,7 +547,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
|
||||
@@ -559,7 +559,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