mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-30 06:21:50 -05:00
add tests
include dynamically loading the template contents from the alembic upgrade file itself
This commit is contained in:
@@ -178,7 +178,6 @@ def send_notifications_on_mou_signed(organisation_id):
|
||||
key_type=KEY_TYPE_NORMAL,
|
||||
reply_to_text=notify_service.get_default_reply_to_email_address()
|
||||
)
|
||||
|
||||
send_notification_to_queue(saved_notification, research_mode=False, queue=QueueNames.NOTIFY)
|
||||
|
||||
personalisation = {
|
||||
@@ -198,8 +197,6 @@ def send_notifications_on_mou_signed(organisation_id):
|
||||
# let notify team know something's happened
|
||||
_send_notification(
|
||||
current_app.config['MOU_NOTIFY_TEAM_ALERT_TEMPLATE_ID'],
|
||||
|
||||
# TODO: decide should we do this to distinguish emails from different envs?
|
||||
'notify-support+{}@digital.cabinet-office.gov.uk'.format(current_app.config['NOTIFY_ENVIRONMENT']),
|
||||
personalisation
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user