mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-17 13:09:49 -04:00
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:
@@ -102,7 +102,7 @@ def service_request_to_go_live(service_id):
|
||||
current_user.name,
|
||||
current_user.email_address,
|
||||
current_service['name'],
|
||||
current_service['id'],
|
||||
url_for('main.service_dashboard', service_id=current_service['id'], _external=True),
|
||||
form.usage.data
|
||||
)
|
||||
}
|
||||
|
||||
@@ -239,7 +239,7 @@ def test_should_redirect_after_request_to_go_live(
|
||||
data={
|
||||
'subject': 'Request to go live',
|
||||
'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
|
||||
},
|
||||
headers=ANY
|
||||
|
||||
Reference in New Issue
Block a user