mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
set sms_sender to be 'GOVUK' if not otherwise specified
this is a precursor to making the column non-nullable
This commit is contained in:
@@ -240,7 +240,11 @@ def test_create_service(client, sample_user):
|
||||
assert json_resp['data']['email_from'] == 'created.service'
|
||||
assert not json_resp['data']['research_mode']
|
||||
assert json_resp['data']['dvla_organisation'] == '001'
|
||||
<<<<<<< HEAD
|
||||
assert json_resp['data']['sms_sender'] == current_app.config['FROM_NUMBER']
|
||||
=======
|
||||
assert json_resp['data']['sms_sender'] == 'GOVUK'
|
||||
>>>>>>> set sms_sender to be 'GOVUK' if not otherwise specified
|
||||
|
||||
service_db = Service.query.get(json_resp['data']['id'])
|
||||
assert service_db.name == 'created service'
|
||||
|
||||
Reference in New Issue
Block a user