Put URL to service in request to go live ticket

So that:
- we know what environment the request has come from
- a platform admin user can jump straight to that service to check it
  out
This commit is contained in:
Chris Hill-Scott
2016-04-26 16:28:16 +01:00
parent 36d2889a59
commit 456291d630
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -102,7 +102,7 @@ def service_request_to_go_live(service_id):
current_user.name, current_user.name,
current_user.email_address, current_user.email_address,
current_service['name'], current_service['name'],
current_service['id'], url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
form.usage.data form.usage.data
) )
} }
@@ -239,7 +239,7 @@ def test_should_redirect_after_request_to_go_live(
data={ data={
'subject': 'Request to go live', 'subject': 'Request to go live',
'department_id': ANY, 'department_id': ANY,
'message': 'From Test User <test@user.gov.uk> on behalf of Test Service (6ce466d0-fd6a-11e5-82f5-e0accb9d11a6)\n\nUsage estimate\n---\n\nOne million messages', # noqa 'message': 'From Test User <test@user.gov.uk> on behalf of Test Service (http://localhost/services/6ce466d0-fd6a-11e5-82f5-e0accb9d11a6/dashboard)\n\nUsage estimate\n---\n\nOne million messages', # noqa
'person_email': ANY 'person_email': ANY
}, },
headers=ANY headers=ANY