Merge pull request #675 from GSA/636-remove-uk-requirements

Changed link to email notify support instead of going to request to go live page
This commit is contained in:
Carlo Costino
2023-08-03 16:42:21 -04:00
committed by GitHub
2 changed files with 3 additions and 2 deletions

View File

@@ -206,7 +206,7 @@
<p> <p>
{% if current_user.has_permissions('manage_service') %} {% if current_user.has_permissions('manage_service') %}
To remove these restrictions, you can send us a To remove these restrictions, you can send us a
<a class="govuk-link govuk-link--no-visited-state" href="{{ url_for('.request_to_go_live', service_id=current_service.id) }}">request to go live</a>. <a class="govuk-link govuk-link--no-visited-state" href="mailto:notify-support@gsa.gov">request to go live</a>.
{% else %} {% else %}
Your service manager can ask to have these restrictions removed. Your service manager can ask to have these restrictions removed.
{% endif %} {% endif %}

View File

@@ -367,7 +367,8 @@ def test_show_restricted_service(
if expected_link: if expected_link:
assert request_to_live_link.text.strip() == 'request to go live' assert request_to_live_link.text.strip() == 'request to go live'
assert request_to_live_link['href'] == url_for('main.request_to_go_live', service_id=SERVICE_ONE_ID) email_address = 'notify-support@gsa.gov'
assert request_to_live_link['href'] == f'mailto:{email_address}'
else: else:
assert not request_to_live_link assert not request_to_live_link