Merge pull request #2538 from alphagov/fix-team-recipient-check

Update to unit tests
This commit is contained in:
Rebecca Law
2019-06-28 14:40:16 +01:00
committed by GitHub
6 changed files with 110 additions and 118 deletions

View File

@@ -68,7 +68,7 @@ def handle_integrity_error(exc):
current_app.logger.exception('Check constraint ck_users_mobile_or_email_auth triggered')
return jsonify(result='error', message='Mobile number must be set if auth_type is set to sms_auth'), 400
raise
raise exc
@user_blueprint.route('', methods=['POST'])