Skip to content

Commit

Permalink
Fix unit tests (#310)
Browse files Browse the repository at this point in the history
Parent issue: sequentech/meta#260
  • Loading branch information
edulix committed Sep 28, 2023
1 parent 073e4de commit 697a162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iam/api/tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -2200,7 +2200,7 @@ def test_register_and_resend_code(self):
response = c.post('/api/auth-event/%d/resend_auth_code/' % self.aeid, data)
self.assertEqual(response.status_code, 400)
r = parse_json_response(response)
self.assertEqual(r['error_codename'], 'AUTH_EVENT_NOT_STARTED')
self.assertEqual(r['error_codename'], 'INVALID_REQUEST')

# good: self.aeid.census = close but allow_user_resend = True
self.ae.auth_method_config['config']['allow_user_resend'] = True
Expand Down

0 comments on commit 697a162

Please sign in to comment.