Skip to content

Commit

Permalink
Revert incorret fix, which should not remove version info to pass
Browse files Browse the repository at this point in the history
Test: test_claim_unauth_success_with_preprint_id
  • Loading branch information
cslzchen committed Jan 6, 2025
1 parent 17fdb76 commit 33140fd
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='[email protected]', id=preprint.get_guid()._id),
self.payload(email='[email protected]', id=preprint._id),
)
assert res.status_code == 204
assert mock_mail.call_count == 1
Expand Down

0 comments on commit 33140fd

Please sign in to comment.