put secret code in email url token

This commit is contained in:
Leo Hemsted
2017-11-03 16:44:22 +00:00
parent 6af616eb83
commit a231918317
2 changed files with 12 additions and 9 deletions

View File

@@ -275,6 +275,7 @@ def test_send_new_user_email_verification(client,
headers=[('Content-Type', 'application/json'), auth_header])
assert resp.status_code == 204
notification = Notification.query.first()
assert VerifyCode.query.count() == 0
mocked.assert_called_once_with(([str(notification.id)]), queue="notify-internal-tasks")