mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 01:41:05 -05:00
Merge pull request #298 from alphagov/add-user-to-job
Add created_by for jobs
This commit is contained in:
@@ -71,6 +71,7 @@ def test_get_job_by_id(notify_api, sample_job):
|
||||
assert response.status_code == 200
|
||||
resp_json = json.loads(response.get_data(as_text=True))
|
||||
assert resp_json['data']['id'] == job_id
|
||||
assert resp_json['data']['created_by']['name'] == 'Test User'
|
||||
|
||||
|
||||
def test_create_job(notify_api, sample_template, mocker, fake_uuid):
|
||||
|
||||
Reference in New Issue
Block a user