mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-19 14:09:20 -04:00
Rename endpoint to remove term ‘whitelist’
See c31264d4c for rationale. To avoid confusion the codebase should use
the same terminology as the UI.
This commit is contained in:
@@ -421,7 +421,7 @@ def test_should_show_whitelist_page(
|
||||
mock_get_whitelist,
|
||||
):
|
||||
page = client_request.get(
|
||||
'main.whitelist',
|
||||
'main.guest_list',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
)
|
||||
textboxes = page.find_all('input', {'type': 'text'})
|
||||
@@ -443,7 +443,7 @@ def test_should_update_whitelist(
|
||||
])
|
||||
|
||||
client_request.post(
|
||||
'main.whitelist',
|
||||
'main.guest_list',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
_data=data,
|
||||
)
|
||||
@@ -459,7 +459,7 @@ def test_should_validate_whitelist_items(
|
||||
):
|
||||
|
||||
page = client_request.post(
|
||||
'main.whitelist',
|
||||
'main.guest_list',
|
||||
service_id=SERVICE_ONE_ID,
|
||||
_data=OrderedDict([
|
||||
('email_addresses-1', 'abc'),
|
||||
|
||||
Reference in New Issue
Block a user