mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-18 21:49:37 -04:00
update conftest and tests to contain accurate test data
specifically, we identify inbound vs outbound by presence of "notify_number", so ensure that test content actually contains that field
This commit is contained in:
@@ -1333,6 +1333,7 @@ def mock_get_inbound_sms(mocker):
|
||||
):
|
||||
return [{
|
||||
'user_number': '0790090000' + str(i),
|
||||
'notify_number': '07900000002',
|
||||
'content': 'message-{}'.format(index + 1),
|
||||
'created_at': (datetime.utcnow() - timedelta(minutes=60 * (i + 1), seconds=index)).isoformat(),
|
||||
'id': sample_uuid(),
|
||||
|
||||
Reference in New Issue
Block a user