mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Make whitespace stripping work for whitelists too
It’s a bit hacky, but it fixes a potential issue for users.
Code adapted from:
2c34f678ab
This commit is contained in:
@@ -351,8 +351,8 @@ def test_should_update_whitelist(
|
||||
service_id = str(uuid.uuid4())
|
||||
data = OrderedDict([
|
||||
('email_addresses-1', 'test@example.com'),
|
||||
('email_addresses-3', 'test@example.com'),
|
||||
('phone_numbers-0', '07900900000'),
|
||||
('email_addresses-3', ' test@example.com '),
|
||||
('phone_numbers-0', '07900900000 '),
|
||||
('phone_numbers-2', '+1800-555-555'),
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user