mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-05-05 08:31:00 -04:00
Changed link to email address instead, adjusted test to reflect
This commit is contained in:
@@ -367,7 +367,8 @@ def test_show_restricted_service(
|
||||
|
||||
if expected_link:
|
||||
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:
|
||||
assert not request_to_live_link
|
||||
|
||||
|
||||
Reference in New Issue
Block a user