mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-02 17:48:50 -04:00
Merge pull request #3660 from alphagov/fix-incorrect-processing-started-time-jobs
Fix incorrect processing started time on jobs
This commit is contained in:
@@ -690,8 +690,8 @@ def test_should_show_updates_for_scheduled_job_as_json(
|
||||
service_one['id'],
|
||||
created_by=user_json(),
|
||||
job_id=fake_uuid,
|
||||
scheduled_for='2016-06-01T13:00:00',
|
||||
processing_started='2016-06-01T15:00:00',
|
||||
scheduled_for='2016-06-01T13:00:00+00:00',
|
||||
processing_started='2016-06-01T15:00:00+00:00',
|
||||
)})
|
||||
|
||||
response = logged_in_client.get(url_for('main.view_job_updates', service_id=service_one['id'], job_id=fake_uuid))
|
||||
@@ -706,7 +706,7 @@ def test_should_show_updates_for_scheduled_job_as_json(
|
||||
assert 'Status' in content['notifications']
|
||||
assert 'Delivered' in content['notifications']
|
||||
assert '12:01am' in content['notifications']
|
||||
assert 'Sent by Test User on 1 June at 5:00pm' in content['status']
|
||||
assert 'Sent by Test User on 1 June at 4:00pm' in content['status']
|
||||
|
||||
|
||||
@pytest.mark.parametrize(
|
||||
|
||||
Reference in New Issue
Block a user