Merge branch 'master' into vb-remove-ip-whitelist

This commit is contained in:
Venus Bailey
2017-12-19 10:24:46 +00:00
committed by GitHub
3 changed files with 25 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ def test_create_invited_user(admin_request, sample_service, mocker, invitation_e
assert json_resp['data']['id']
notification = Notification.query.first()
assert notification.reply_to_text == "notify@gov.uk"
assert notification.reply_to_text == invite_from.email_address
mocked.assert_called_once_with([(str(notification.id))], queue="notify-internal-tasks")