mirror of
https://github.com/GSA/notifications-api.git
synced 2026-05-03 15:50:12 -04:00
Update tests to focus on US numbers
This commit is contained in:
@@ -32,8 +32,8 @@ from tests.app.db import (
|
||||
|
||||
|
||||
@pytest.mark.parametrize('mobile_number', [
|
||||
'5558675309',
|
||||
'+15558675309'
|
||||
'2348675309',
|
||||
'+12348675309'
|
||||
])
|
||||
def test_should_build_service_guest_list_from_mobile_number(mobile_number):
|
||||
service_guest_list = ServiceGuestList.from_string('service_id', MOBILE_TYPE, mobile_number)
|
||||
@@ -93,7 +93,7 @@ def test_status_conversion(initial_statuses, expected_statuses):
|
||||
|
||||
@freeze_time("2016-01-01 11:09:00.000000")
|
||||
@pytest.mark.parametrize('template_type, recipient', [
|
||||
('sms', '+15558675309'),
|
||||
('sms', '+12028675309'),
|
||||
('email', 'foo@bar.com'),
|
||||
])
|
||||
def test_notification_for_csv_returns_correct_type(sample_service, template_type, recipient):
|
||||
|
||||
Reference in New Issue
Block a user