mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-05 14:48:25 -04:00
Check the uniqueness of the service name ignoring case.
When the service name changes the email_from changes to. Renamed find_all_service_names to find_all_service_names_lower.
This commit is contained in:
@@ -66,7 +66,7 @@ def test_should_not_allow_duplicate_names(app_,
|
||||
service_id = service_one['id']
|
||||
response = client.post(
|
||||
url_for('main.service_name_change', service_id=service_id),
|
||||
data={'name': "service_one"})
|
||||
data={'name': "SErvICE_TWO"})
|
||||
|
||||
assert response.status_code == 200
|
||||
resp_data = response.get_data(as_text=True)
|
||||
|
||||
Reference in New Issue
Block a user