mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-10 01:55:41 -04:00
Make wording on 2nd-level pages match prev. commit
This commit is contained in:
@@ -9,7 +9,7 @@ def test_should_show_service_name(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/name')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Rename service' in response.get_data(as_text=True)
|
||||
assert 'Change your service name' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_redirect_after_change_service_name(notifications_admin):
|
||||
@@ -23,7 +23,7 @@ def test_should_show_service_name_confirmation(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/name/confirm')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Rename service' in response.get_data(as_text=True)
|
||||
assert 'Change your service name' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_redirect_after_service_name_confirmation(notifications_admin):
|
||||
@@ -37,7 +37,7 @@ def test_should_show_request_to_go_live(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/request-to-go-live')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Request to make service live' in response.get_data(as_text=True)
|
||||
assert 'Request to go live' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_redirect_after_request_to_go_live(notifications_admin):
|
||||
@@ -51,7 +51,7 @@ def test_should_show_status_page(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/status')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Turn off outgoing messages' in response.get_data(as_text=True)
|
||||
assert 'Turn off all outgoing notifications' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_show_redirect_after_status_change(notifications_admin):
|
||||
@@ -65,7 +65,7 @@ def test_should_show_status_confirmation(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/status/confirm')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Turn off outgoing messages' in response.get_data(as_text=True)
|
||||
assert 'Turn off all outgoing notifications' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_redirect_after_status_confirmation(notifications_admin):
|
||||
@@ -79,7 +79,7 @@ def test_should_show_delete_page(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/delete')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Delete service' in response.get_data(as_text=True)
|
||||
assert 'Delete this service from Notify' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_show_redirect_after_deleting_service(notifications_admin):
|
||||
@@ -93,7 +93,7 @@ def test_should_show_delete_confirmation(notifications_admin):
|
||||
response = notifications_admin.test_client().get('/service-settings/delete/confirm')
|
||||
|
||||
assert response.status_code == 200
|
||||
assert 'Delete service' in response.get_data(as_text=True)
|
||||
assert 'Delete this service from Notify' in response.get_data(as_text=True)
|
||||
|
||||
|
||||
def test_should_redirect_delete_confirmation(notifications_admin):
|
||||
|
||||
Reference in New Issue
Block a user