mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-04 10:21:14 -05:00
Add created_by_id to jobs table.
The user logged in will be the user marked as creating the job. The admin code already sends the created_by user when creating a job.
This commit is contained in:
@@ -20,7 +20,8 @@ def test_create_job(sample_template):
|
||||
'service_id': sample_template.service.id,
|
||||
'template_id': sample_template.id,
|
||||
'original_file_name': 'some.csv',
|
||||
'notification_count': 1
|
||||
'notification_count': 1,
|
||||
'created_by': sample_template.created_by
|
||||
}
|
||||
|
||||
job = Job(**data)
|
||||
|
||||
Reference in New Issue
Block a user