mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-01 07:35:34 -05:00
Update now to utcnow. All tests passing.
This commit is contained in:
@@ -781,7 +781,7 @@ def test_email_invited_user_should_send_email(notify_api, mocker):
|
||||
'service_id': '123123',
|
||||
'service_name': 'Blacksmith Service',
|
||||
'token': 'the-token',
|
||||
'expiry_date': str(datetime.now() + timedelta(days=1))
|
||||
'expiry_date': str(datetime.utcnow() + timedelta(days=1))
|
||||
}
|
||||
|
||||
mocker.patch('app.aws_ses_client.send_email')
|
||||
|
||||
Reference in New Issue
Block a user