mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-14 06:11:45 -04:00
Add test case for spaces
Turns out we accept spaces in text message senders. But there was no test case which covered this.
This commit is contained in:
@@ -810,6 +810,7 @@ def test_incorrect_letter_contact_block_input(
|
||||
|
||||
@pytest.mark.parametrize('sms_sender_input, expected_error', [
|
||||
('elevenchars', None),
|
||||
('11 chars', None),
|
||||
('', 'Can’t be empty'),
|
||||
('abcdefghijkhgkg', 'Enter 11 characters or fewer'),
|
||||
(' ¯\_(ツ)_/¯ ', 'Use letters and numbers only'),
|
||||
|
||||
Reference in New Issue
Block a user