mirror of
https://github.com/GSA/notifications-api.git
synced 2026-01-31 23:26:23 -05:00
Add created_by_name to the Notification.serialize_for_csv.
The concern about performnace degrading has been thought through. We do not believe there will be an adverse effect since the high volume users do not send off messages.
This commit is contained in:
@@ -815,4 +815,5 @@ def test_get_all_notifications_for_job_returns_csv_format(
|
||||
assert len(resp['notifications']) == 1
|
||||
notification = resp['notifications'][0]
|
||||
assert set(notification.keys()) == \
|
||||
set(['created_at', 'template_type', 'template_name', 'job_name', 'status', 'row_number', 'recipient'])
|
||||
set(['created_at', 'created_by_name', 'template_type',
|
||||
'template_name', 'job_name', 'status', 'row_number', 'recipient'])
|
||||
|
||||
Reference in New Issue
Block a user