Skip to content

Commit

Permalink
Fix test_claim_unauth_success_with_preprint_id
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad0n20 committed Jan 10, 2025
1 parent 80d6844 commit f54872c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api_tests/users/views/test_user_claim.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def test_claim_unauth_success_with_unknown_email(self, app, url, project, unreg_
def test_claim_unauth_success_with_preprint_id(self, app, url, preprint, unreg_user, mock_mail):
res = app.post_json_api(
url.format(unreg_user._id),
self.payload(email='david@david.son', id=preprint._id),
self.payload(email='david@david.son', id=preprint.get_guid()._id),
)
assert res.status_code == 204
assert mock_mail.call_count == 1
Expand Down

0 comments on commit f54872c

Please sign in to comment.