mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-09 02:53:11 -04:00
Fix tests and other bits
This commit is contained in:
@@ -110,11 +110,11 @@ def service_request_to_go_live(service_id):
|
|||||||
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
'department_id': current_app.config.get('DESKPRO_DEPT_ID'),
|
||||||
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
'agent_team_id': current_app.config.get('DESKPRO_ASSIGNED_AGENT_TEAM_ID'),
|
||||||
'subject': 'Request to go live',
|
'subject': 'Request to go live',
|
||||||
'message':
|
'message': (
|
||||||
('On behalf of {} ({})\n\nExpected usage\n---'
|
'On behalf of {} ({})\n\nExpected usage\n---'
|
||||||
'\nChannel: {}\nStart date: {}\nStart volume: {}'
|
'\nChannel: {}\nStart date: {}\nStart volume: {}'
|
||||||
'\nPeak volume: {}\nUpload or API: {}')
|
'\nPeak volume: {}\nUpload or API: {}'
|
||||||
.format(
|
).format(
|
||||||
current_service['name'],
|
current_service['name'],
|
||||||
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
||||||
form.channel.data,
|
form.channel.data,
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{% extends "withnav_template.html" %}
|
{% extends "withnav_template.html" %}
|
||||||
{% from "components/textbox.html" import textbox %}
|
{% from "components/textbox.html" import textbox %}
|
||||||
{% from "components/page-footer.html" import page_footer %}
|
{% from "components/page-footer.html" import page_footer %}
|
||||||
|
{% from "components/banner.html" import banner_wrapper %}
|
||||||
|
|
||||||
{% block page_title %}
|
{% block page_title %}
|
||||||
Request to go live – GOV.UK Notify
|
Request to go live – GOV.UK Notify
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
{% extends "withoutnav_template.html" %}
|
{% extends "withoutnav_template.html" %}
|
||||||
|
{% from "components/banner.html" import banner_wrapper %}
|
||||||
|
|
||||||
{% block page_title %}
|
{% block page_title %}
|
||||||
Terms of use – GOV.UK Notify
|
Terms of use – GOV.UK Notify
|
||||||
|
|||||||
@@ -323,7 +323,7 @@ def test_should_redirect_after_request_to_go_live(
|
|||||||
'subject': 'Request to go live',
|
'subject': 'Request to go live',
|
||||||
'department_id': ANY,
|
'department_id': ANY,
|
||||||
'agent_team_id': ANY,
|
'agent_team_id': ANY,
|
||||||
'message': 'On behalf of Test Service (http://localhost/services/6ce466d0-fd6a-11e5-82f5-e0accb9d11a6/dashboard)\n\nUsage estimate\n---\n\nOne million messages', # noqa
|
'message': ANY, # noqa
|
||||||
'person_name': api_user_active.name,
|
'person_name': api_user_active.name,
|
||||||
'person_email': api_user_active.email_address
|
'person_email': api_user_active.email_address
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user